GET chat.media.download
{{baseUrl}}/v1/media/:resourceName
QUERY PARAMS

resourceName
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/media/:resourceName");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/v1/media/:resourceName")
require "http/client"

url = "{{baseUrl}}/v1/media/:resourceName"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/v1/media/:resourceName"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/media/:resourceName");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/media/:resourceName"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/v1/media/:resourceName HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/media/:resourceName")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/media/:resourceName"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/media/:resourceName")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/media/:resourceName")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/v1/media/:resourceName');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/v1/media/:resourceName'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/media/:resourceName';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/media/:resourceName',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/v1/media/:resourceName")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/media/:resourceName',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/v1/media/:resourceName'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/v1/media/:resourceName');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/v1/media/:resourceName'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/media/:resourceName';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/media/:resourceName"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/media/:resourceName" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/media/:resourceName",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/v1/media/:resourceName');

echo $response->getBody();
setUrl('{{baseUrl}}/v1/media/:resourceName');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/media/:resourceName');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/media/:resourceName' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/media/:resourceName' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/v1/media/:resourceName")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/media/:resourceName"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/media/:resourceName"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/media/:resourceName")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/v1/media/:resourceName') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/media/:resourceName";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/v1/media/:resourceName
http GET {{baseUrl}}/v1/media/:resourceName
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/v1/media/:resourceName
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/media/:resourceName")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET chat.spaces.list
{{baseUrl}}/v1/spaces
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/spaces");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/v1/spaces")
require "http/client"

url = "{{baseUrl}}/v1/spaces"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/v1/spaces"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/spaces");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/spaces"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/v1/spaces HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/spaces")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/spaces"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/spaces")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/spaces")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/v1/spaces');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/v1/spaces'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/spaces';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/spaces',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/v1/spaces")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/spaces',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/v1/spaces'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/v1/spaces');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/v1/spaces'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/spaces';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/spaces"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/spaces" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/spaces",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/v1/spaces');

echo $response->getBody();
setUrl('{{baseUrl}}/v1/spaces');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/spaces');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/spaces' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/spaces' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/v1/spaces")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/spaces"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/spaces"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/spaces")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/v1/spaces') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/spaces";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/v1/spaces
http GET {{baseUrl}}/v1/spaces
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/v1/spaces
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/spaces")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET chat.spaces.members.list
{{baseUrl}}/v1/:parent/members
QUERY PARAMS

parent
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:parent/members");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/v1/:parent/members")
require "http/client"

url = "{{baseUrl}}/v1/:parent/members"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/v1/:parent/members"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:parent/members");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:parent/members"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/v1/:parent/members HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/:parent/members")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:parent/members"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:parent/members")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/:parent/members")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/v1/:parent/members');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/v1/:parent/members'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:parent/members';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:parent/members',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/v1/:parent/members")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:parent/members',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/v1/:parent/members'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/v1/:parent/members');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/v1/:parent/members'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:parent/members';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:parent/members"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:parent/members" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:parent/members",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/v1/:parent/members');

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:parent/members');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/:parent/members');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:parent/members' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:parent/members' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/v1/:parent/members")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:parent/members"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:parent/members"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:parent/members")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/v1/:parent/members') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:parent/members";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/v1/:parent/members
http GET {{baseUrl}}/v1/:parent/members
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/v1/:parent/members
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:parent/members")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET chat.spaces.messages.attachments.get
{{baseUrl}}/v1/:name
QUERY PARAMS

name
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/v1/:name")
require "http/client"

url = "{{baseUrl}}/v1/:name"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/v1/:name"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:name"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/v1/:name HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/v1/:name")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:name"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/v1/:name")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/v1/:name');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:name',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:name',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/v1/:name');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/v1/:name'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:name';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:name" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:name",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/v1/:name');

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/v1/:name")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:name"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:name"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:name")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/v1/:name') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:name";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/v1/:name
http GET {{baseUrl}}/v1/:name
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/v1/:name
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST chat.spaces.messages.create
{{baseUrl}}/v1/:parent/messages
QUERY PARAMS

parent
BODY json

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:parent/messages");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/v1/:parent/messages" {:content-type :json
                                                                :form-params {:actionResponse {:dialogAction {:actionStatus {:statusCode ""
                                                                                                                             :userFacingMessage ""}
                                                                                                              :dialog {:body {:cardActions [{:actionLabel ""
                                                                                                                                             :onClick {:action {:function ""
                                                                                                                                                                :interaction ""
                                                                                                                                                                :loadIndicator ""
                                                                                                                                                                :parameters [{:key ""
                                                                                                                                                                              :value ""}]
                                                                                                                                                                :persistValues false}
                                                                                                                                                       :card ""
                                                                                                                                                       :openDynamicLinkAction {}
                                                                                                                                                       :openLink {:onClose ""
                                                                                                                                                                  :openAs ""
                                                                                                                                                                  :url ""}}}]
                                                                                                                              :displayStyle ""
                                                                                                                              :fixedFooter {:primaryButton {:altText ""
                                                                                                                                                            :color {:alpha ""
                                                                                                                                                                    :blue ""
                                                                                                                                                                    :green ""
                                                                                                                                                                    :red ""}
                                                                                                                                                            :disabled false
                                                                                                                                                            :icon {:altText ""
                                                                                                                                                                   :iconUrl ""
                                                                                                                                                                   :imageType ""
                                                                                                                                                                   :knownIcon ""}
                                                                                                                                                            :onClick {}
                                                                                                                                                            :text ""}
                                                                                                                                            :secondaryButton {}}
                                                                                                                              :header {:imageAltText ""
                                                                                                                                       :imageType ""
                                                                                                                                       :imageUrl ""
                                                                                                                                       :subtitle ""
                                                                                                                                       :title ""}
                                                                                                                              :name ""
                                                                                                                              :peekCardHeader {}
                                                                                                                              :sections [{:collapsible false
                                                                                                                                          :header ""
                                                                                                                                          :uncollapsibleWidgetsCount 0
                                                                                                                                          :widgets [{:buttonList {:buttons [{}]}
                                                                                                                                                     :dateTimePicker {:label ""
                                                                                                                                                                      :name ""
                                                                                                                                                                      :onChangeAction {}
                                                                                                                                                                      :timezoneOffsetDate 0
                                                                                                                                                                      :type ""
                                                                                                                                                                      :valueMsEpoch ""}
                                                                                                                                                     :decoratedText {:bottomLabel ""
                                                                                                                                                                     :button {}
                                                                                                                                                                     :endIcon {}
                                                                                                                                                                     :icon {}
                                                                                                                                                                     :onClick {}
                                                                                                                                                                     :startIcon {}
                                                                                                                                                                     :switchControl {:controlType ""
                                                                                                                                                                                     :name ""
                                                                                                                                                                                     :onChangeAction {}
                                                                                                                                                                                     :selected false
                                                                                                                                                                                     :value ""}
                                                                                                                                                                     :text ""
                                                                                                                                                                     :topLabel ""
                                                                                                                                                                     :wrapText false}
                                                                                                                                                     :divider {}
                                                                                                                                                     :grid {:borderStyle {:cornerRadius 0
                                                                                                                                                                          :strokeColor {}
                                                                                                                                                                          :type ""}
                                                                                                                                                            :columnCount 0
                                                                                                                                                            :items [{:id ""
                                                                                                                                                                     :image {:altText ""
                                                                                                                                                                             :borderStyle {}
                                                                                                                                                                             :cropStyle {:aspectRatio ""
                                                                                                                                                                                         :type ""}
                                                                                                                                                                             :imageUri ""}
                                                                                                                                                                     :layout ""
                                                                                                                                                                     :subtitle ""
                                                                                                                                                                     :title ""}]
                                                                                                                                                            :onClick {}
                                                                                                                                                            :title ""}
                                                                                                                                                     :image {:altText ""
                                                                                                                                                             :imageUrl ""
                                                                                                                                                             :onClick {}}
                                                                                                                                                     :selectionInput {:items [{:selected false
                                                                                                                                                                               :text ""
                                                                                                                                                                               :value ""}]
                                                                                                                                                                      :label ""
                                                                                                                                                                      :name ""
                                                                                                                                                                      :onChangeAction {}
                                                                                                                                                                      :type ""}
                                                                                                                                                     :textInput {:autoCompleteAction {}
                                                                                                                                                                 :hintText ""
                                                                                                                                                                 :initialSuggestions {:items [{:text ""}]}
                                                                                                                                                                 :label ""
                                                                                                                                                                 :name ""
                                                                                                                                                                 :onChangeAction {}
                                                                                                                                                                 :type ""
                                                                                                                                                                 :value ""}
                                                                                                                                                     :textParagraph {:text ""}}]}]}}}
                                                                                               :type ""
                                                                                               :url ""}
                                                                              :annotations [{:length 0
                                                                                             :slashCommand {:bot {:displayName ""
                                                                                                                  :domainId ""
                                                                                                                  :isAnonymous false
                                                                                                                  :name ""
                                                                                                                  :type ""}
                                                                                                            :commandId ""
                                                                                                            :commandName ""
                                                                                                            :triggersDialog false
                                                                                                            :type ""}
                                                                                             :startIndex 0
                                                                                             :type ""
                                                                                             :userMention {:type ""
                                                                                                           :user {}}}]
                                                                              :argumentText ""
                                                                              :attachment [{:attachmentDataRef {:resourceName ""}
                                                                                            :contentName ""
                                                                                            :contentType ""
                                                                                            :downloadUri ""
                                                                                            :driveDataRef {:driveFileId ""}
                                                                                            :name ""
                                                                                            :source ""
                                                                                            :thumbnailUri ""}]
                                                                              :cards [{:cardActions [{:actionLabel ""
                                                                                                      :onClick {:action {:actionMethodName ""
                                                                                                                         :parameters [{:key ""
                                                                                                                                       :value ""}]}
                                                                                                                :openLink {:url ""}}}]
                                                                                       :header {:imageStyle ""
                                                                                                :imageUrl ""
                                                                                                :subtitle ""
                                                                                                :title ""}
                                                                                       :name ""
                                                                                       :sections [{:header ""
                                                                                                   :widgets [{:buttons [{:imageButton {:icon ""
                                                                                                                                       :iconUrl ""
                                                                                                                                       :name ""
                                                                                                                                       :onClick {}}
                                                                                                                         :textButton {:onClick {}
                                                                                                                                      :text ""}}]
                                                                                                              :image {:aspectRatio ""
                                                                                                                      :imageUrl ""
                                                                                                                      :onClick {}}
                                                                                                              :keyValue {:bottomLabel ""
                                                                                                                         :button {}
                                                                                                                         :content ""
                                                                                                                         :contentMultiline false
                                                                                                                         :icon ""
                                                                                                                         :iconUrl ""
                                                                                                                         :onClick {}
                                                                                                                         :topLabel ""}
                                                                                                              :textParagraph {:text ""}}]}]}]
                                                                              :cardsV2 [{:card {}
                                                                                         :cardId ""}]
                                                                              :clientAssignedMessageId ""
                                                                              :createTime ""
                                                                              :fallbackText ""
                                                                              :lastUpdateTime ""
                                                                              :matchedUrl {:url ""}
                                                                              :name ""
                                                                              :sender {}
                                                                              :slashCommand {:commandId ""}
                                                                              :space {:adminInstalled false
                                                                                      :displayName ""
                                                                                      :name ""
                                                                                      :singleUserBotDm false
                                                                                      :spaceDetails {:description ""
                                                                                                     :guidelines ""}
                                                                                      :spaceThreadingState ""
                                                                                      :threaded false
                                                                                      :type ""}
                                                                              :text ""
                                                                              :thread {:name ""
                                                                                       :threadKey ""}
                                                                              :threadReply false}})
require "http/client"

url = "{{baseUrl}}/v1/:parent/messages"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/v1/:parent/messages"),
    Content = new StringContent("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:parent/messages");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:parent/messages"

	payload := strings.NewReader("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/v1/:parent/messages HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 8235

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/v1/:parent/messages")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:parent/messages"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:parent/messages")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/v1/:parent/messages")
  .header("content-type", "application/json")
  .body("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .asString();
const data = JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/v1/:parent/messages');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/v1/:parent/messages',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:parent/messages';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:parent/messages',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/v1/:parent/messages")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:parent/messages',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {statusCode: '', userFacingMessage: ''},
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [{key: '', value: ''}],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {onClose: '', openAs: '', url: ''}
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {alpha: '', blue: '', green: '', red: ''},
              disabled: false,
              icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {buttons: [{}]},
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {aspectRatio: '', type: ''},
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {altText: '', imageUrl: '', onClick: {}},
                  selectionInput: {
                    items: [{selected: false, text: '', value: ''}],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {items: [{text: ''}]},
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {text: ''}
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {type: '', user: {}}
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {resourceName: ''},
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {driveFileId: ''},
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
            openLink: {url: ''}
          }
        }
      ],
      header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                  textButton: {onClick: {}, text: ''}
                }
              ],
              image: {aspectRatio: '', imageUrl: '', onClick: {}},
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {text: ''}
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [{card: {}, cardId: ''}],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {url: ''},
  name: '',
  sender: {},
  slashCommand: {commandId: ''},
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {description: '', guidelines: ''},
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {name: '', threadKey: ''},
  threadReply: false
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/v1/:parent/messages',
  headers: {'content-type': 'application/json'},
  body: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/v1/:parent/messages');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/v1/:parent/messages',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:parent/messages';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"actionResponse": @{ @"dialogAction": @{ @"actionStatus": @{ @"statusCode": @"", @"userFacingMessage": @"" }, @"dialog": @{ @"body": @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"function": @"", @"interaction": @"", @"loadIndicator": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ], @"persistValues": @NO }, @"card": @"", @"openDynamicLinkAction": @{  }, @"openLink": @{ @"onClose": @"", @"openAs": @"", @"url": @"" } } } ], @"displayStyle": @"", @"fixedFooter": @{ @"primaryButton": @{ @"altText": @"", @"color": @{ @"alpha": @"", @"blue": @"", @"green": @"", @"red": @"" }, @"disabled": @NO, @"icon": @{ @"altText": @"", @"iconUrl": @"", @"imageType": @"", @"knownIcon": @"" }, @"onClick": @{  }, @"text": @"" }, @"secondaryButton": @{  } }, @"header": @{ @"imageAltText": @"", @"imageType": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"peekCardHeader": @{  }, @"sections": @[ @{ @"collapsible": @NO, @"header": @"", @"uncollapsibleWidgetsCount": @0, @"widgets": @[ @{ @"buttonList": @{ @"buttons": @[ @{  } ] }, @"dateTimePicker": @{ @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"timezoneOffsetDate": @0, @"type": @"", @"valueMsEpoch": @"" }, @"decoratedText": @{ @"bottomLabel": @"", @"button": @{  }, @"endIcon": @{  }, @"icon": @{  }, @"onClick": @{  }, @"startIcon": @{  }, @"switchControl": @{ @"controlType": @"", @"name": @"", @"onChangeAction": @{  }, @"selected": @NO, @"value": @"" }, @"text": @"", @"topLabel": @"", @"wrapText": @NO }, @"divider": @{  }, @"grid": @{ @"borderStyle": @{ @"cornerRadius": @0, @"strokeColor": @{  }, @"type": @"" }, @"columnCount": @0, @"items": @[ @{ @"id": @"", @"image": @{ @"altText": @"", @"borderStyle": @{  }, @"cropStyle": @{ @"aspectRatio": @"", @"type": @"" }, @"imageUri": @"" }, @"layout": @"", @"subtitle": @"", @"title": @"" } ], @"onClick": @{  }, @"title": @"" }, @"image": @{ @"altText": @"", @"imageUrl": @"", @"onClick": @{  } }, @"selectionInput": @{ @"items": @[ @{ @"selected": @NO, @"text": @"", @"value": @"" } ], @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"" }, @"textInput": @{ @"autoCompleteAction": @{  }, @"hintText": @"", @"initialSuggestions": @{ @"items": @[ @{ @"text": @"" } ] }, @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"", @"value": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } } }, @"type": @"", @"url": @"" },
                              @"annotations": @[ @{ @"length": @0, @"slashCommand": @{ @"bot": @{ @"displayName": @"", @"domainId": @"", @"isAnonymous": @NO, @"name": @"", @"type": @"" }, @"commandId": @"", @"commandName": @"", @"triggersDialog": @NO, @"type": @"" }, @"startIndex": @0, @"type": @"", @"userMention": @{ @"type": @"", @"user": @{  } } } ],
                              @"argumentText": @"",
                              @"attachment": @[ @{ @"attachmentDataRef": @{ @"resourceName": @"" }, @"contentName": @"", @"contentType": @"", @"downloadUri": @"", @"driveDataRef": @{ @"driveFileId": @"" }, @"name": @"", @"source": @"", @"thumbnailUri": @"" } ],
                              @"cards": @[ @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"actionMethodName": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ] }, @"openLink": @{ @"url": @"" } } } ], @"header": @{ @"imageStyle": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"sections": @[ @{ @"header": @"", @"widgets": @[ @{ @"buttons": @[ @{ @"imageButton": @{ @"icon": @"", @"iconUrl": @"", @"name": @"", @"onClick": @{  } }, @"textButton": @{ @"onClick": @{  }, @"text": @"" } } ], @"image": @{ @"aspectRatio": @"", @"imageUrl": @"", @"onClick": @{  } }, @"keyValue": @{ @"bottomLabel": @"", @"button": @{  }, @"content": @"", @"contentMultiline": @NO, @"icon": @"", @"iconUrl": @"", @"onClick": @{  }, @"topLabel": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } ],
                              @"cardsV2": @[ @{ @"card": @{  }, @"cardId": @"" } ],
                              @"clientAssignedMessageId": @"",
                              @"createTime": @"",
                              @"fallbackText": @"",
                              @"lastUpdateTime": @"",
                              @"matchedUrl": @{ @"url": @"" },
                              @"name": @"",
                              @"sender": @{  },
                              @"slashCommand": @{ @"commandId": @"" },
                              @"space": @{ @"adminInstalled": @NO, @"displayName": @"", @"name": @"", @"singleUserBotDm": @NO, @"spaceDetails": @{ @"description": @"", @"guidelines": @"" }, @"spaceThreadingState": @"", @"threaded": @NO, @"type": @"" },
                              @"text": @"",
                              @"thread": @{ @"name": @"", @"threadKey": @"" },
                              @"threadReply": @NO };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:parent/messages"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:parent/messages" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:parent/messages",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'actionResponse' => [
        'dialogAction' => [
                'actionStatus' => [
                                'statusCode' => '',
                                'userFacingMessage' => ''
                ],
                'dialog' => [
                                'body' => [
                                                                'cardActions' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'actionLabel' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'displayStyle' => '',
                                                                'fixedFooter' => [
                                                                                                                                'primaryButton' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'disabled' => null,
                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ],
                                                                                                                                'secondaryButton' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ]
                                                                ],
                                                                'header' => [
                                                                                                                                'imageAltText' => '',
                                                                                                                                'imageType' => '',
                                                                                                                                'imageUrl' => '',
                                                                                                                                'subtitle' => '',
                                                                                                                                'title' => ''
                                                                ],
                                                                'name' => '',
                                                                'peekCardHeader' => [
                                                                                                                                
                                                                ],
                                                                'sections' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'collapsible' => null,
                                                                                                                                                                                                                                                                'header' => '',
                                                                                                                                                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ],
        'type' => '',
        'url' => ''
    ],
    'annotations' => [
        [
                'length' => 0,
                'slashCommand' => [
                                'bot' => [
                                                                'displayName' => '',
                                                                'domainId' => '',
                                                                'isAnonymous' => null,
                                                                'name' => '',
                                                                'type' => ''
                                ],
                                'commandId' => '',
                                'commandName' => '',
                                'triggersDialog' => null,
                                'type' => ''
                ],
                'startIndex' => 0,
                'type' => '',
                'userMention' => [
                                'type' => '',
                                'user' => [
                                                                
                                ]
                ]
        ]
    ],
    'argumentText' => '',
    'attachment' => [
        [
                'attachmentDataRef' => [
                                'resourceName' => ''
                ],
                'contentName' => '',
                'contentType' => '',
                'downloadUri' => '',
                'driveDataRef' => [
                                'driveFileId' => ''
                ],
                'name' => '',
                'source' => '',
                'thumbnailUri' => ''
        ]
    ],
    'cards' => [
        [
                'cardActions' => [
                                [
                                                                'actionLabel' => '',
                                                                'onClick' => [
                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                'actionMethodName' => '',
                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ],
                'header' => [
                                'imageStyle' => '',
                                'imageUrl' => '',
                                'subtitle' => '',
                                'title' => ''
                ],
                'name' => '',
                'sections' => [
                                [
                                                                'header' => '',
                                                                'widgets' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'cardsV2' => [
        [
                'card' => [
                                
                ],
                'cardId' => ''
        ]
    ],
    'clientAssignedMessageId' => '',
    'createTime' => '',
    'fallbackText' => '',
    'lastUpdateTime' => '',
    'matchedUrl' => [
        'url' => ''
    ],
    'name' => '',
    'sender' => [
        
    ],
    'slashCommand' => [
        'commandId' => ''
    ],
    'space' => [
        'adminInstalled' => null,
        'displayName' => '',
        'name' => '',
        'singleUserBotDm' => null,
        'spaceDetails' => [
                'description' => '',
                'guidelines' => ''
        ],
        'spaceThreadingState' => '',
        'threaded' => null,
        'type' => ''
    ],
    'text' => '',
    'thread' => [
        'name' => '',
        'threadKey' => ''
    ],
    'threadReply' => null
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/v1/:parent/messages', [
  'body' => '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:parent/messages');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));
$request->setRequestUrl('{{baseUrl}}/v1/:parent/messages');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:parent/messages' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:parent/messages' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/v1/:parent/messages", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:parent/messages"

payload = {
    "actionResponse": {
        "dialogAction": {
            "actionStatus": {
                "statusCode": "",
                "userFacingMessage": ""
            },
            "dialog": { "body": {
                    "cardActions": [
                        {
                            "actionLabel": "",
                            "onClick": {
                                "action": {
                                    "function": "",
                                    "interaction": "",
                                    "loadIndicator": "",
                                    "parameters": [
                                        {
                                            "key": "",
                                            "value": ""
                                        }
                                    ],
                                    "persistValues": False
                                },
                                "card": "",
                                "openDynamicLinkAction": {},
                                "openLink": {
                                    "onClose": "",
                                    "openAs": "",
                                    "url": ""
                                }
                            }
                        }
                    ],
                    "displayStyle": "",
                    "fixedFooter": {
                        "primaryButton": {
                            "altText": "",
                            "color": {
                                "alpha": "",
                                "blue": "",
                                "green": "",
                                "red": ""
                            },
                            "disabled": False,
                            "icon": {
                                "altText": "",
                                "iconUrl": "",
                                "imageType": "",
                                "knownIcon": ""
                            },
                            "onClick": {},
                            "text": ""
                        },
                        "secondaryButton": {}
                    },
                    "header": {
                        "imageAltText": "",
                        "imageType": "",
                        "imageUrl": "",
                        "subtitle": "",
                        "title": ""
                    },
                    "name": "",
                    "peekCardHeader": {},
                    "sections": [
                        {
                            "collapsible": False,
                            "header": "",
                            "uncollapsibleWidgetsCount": 0,
                            "widgets": [
                                {
                                    "buttonList": { "buttons": [{}] },
                                    "dateTimePicker": {
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "timezoneOffsetDate": 0,
                                        "type": "",
                                        "valueMsEpoch": ""
                                    },
                                    "decoratedText": {
                                        "bottomLabel": "",
                                        "button": {},
                                        "endIcon": {},
                                        "icon": {},
                                        "onClick": {},
                                        "startIcon": {},
                                        "switchControl": {
                                            "controlType": "",
                                            "name": "",
                                            "onChangeAction": {},
                                            "selected": False,
                                            "value": ""
                                        },
                                        "text": "",
                                        "topLabel": "",
                                        "wrapText": False
                                    },
                                    "divider": {},
                                    "grid": {
                                        "borderStyle": {
                                            "cornerRadius": 0,
                                            "strokeColor": {},
                                            "type": ""
                                        },
                                        "columnCount": 0,
                                        "items": [
                                            {
                                                "id": "",
                                                "image": {
                                                    "altText": "",
                                                    "borderStyle": {},
                                                    "cropStyle": {
                                                        "aspectRatio": "",
                                                        "type": ""
                                                    },
                                                    "imageUri": ""
                                                },
                                                "layout": "",
                                                "subtitle": "",
                                                "title": ""
                                            }
                                        ],
                                        "onClick": {},
                                        "title": ""
                                    },
                                    "image": {
                                        "altText": "",
                                        "imageUrl": "",
                                        "onClick": {}
                                    },
                                    "selectionInput": {
                                        "items": [
                                            {
                                                "selected": False,
                                                "text": "",
                                                "value": ""
                                            }
                                        ],
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": ""
                                    },
                                    "textInput": {
                                        "autoCompleteAction": {},
                                        "hintText": "",
                                        "initialSuggestions": { "items": [{ "text": "" }] },
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": "",
                                        "value": ""
                                    },
                                    "textParagraph": { "text": "" }
                                }
                            ]
                        }
                    ]
                } }
        },
        "type": "",
        "url": ""
    },
    "annotations": [
        {
            "length": 0,
            "slashCommand": {
                "bot": {
                    "displayName": "",
                    "domainId": "",
                    "isAnonymous": False,
                    "name": "",
                    "type": ""
                },
                "commandId": "",
                "commandName": "",
                "triggersDialog": False,
                "type": ""
            },
            "startIndex": 0,
            "type": "",
            "userMention": {
                "type": "",
                "user": {}
            }
        }
    ],
    "argumentText": "",
    "attachment": [
        {
            "attachmentDataRef": { "resourceName": "" },
            "contentName": "",
            "contentType": "",
            "downloadUri": "",
            "driveDataRef": { "driveFileId": "" },
            "name": "",
            "source": "",
            "thumbnailUri": ""
        }
    ],
    "cards": [
        {
            "cardActions": [
                {
                    "actionLabel": "",
                    "onClick": {
                        "action": {
                            "actionMethodName": "",
                            "parameters": [
                                {
                                    "key": "",
                                    "value": ""
                                }
                            ]
                        },
                        "openLink": { "url": "" }
                    }
                }
            ],
            "header": {
                "imageStyle": "",
                "imageUrl": "",
                "subtitle": "",
                "title": ""
            },
            "name": "",
            "sections": [
                {
                    "header": "",
                    "widgets": [
                        {
                            "buttons": [
                                {
                                    "imageButton": {
                                        "icon": "",
                                        "iconUrl": "",
                                        "name": "",
                                        "onClick": {}
                                    },
                                    "textButton": {
                                        "onClick": {},
                                        "text": ""
                                    }
                                }
                            ],
                            "image": {
                                "aspectRatio": "",
                                "imageUrl": "",
                                "onClick": {}
                            },
                            "keyValue": {
                                "bottomLabel": "",
                                "button": {},
                                "content": "",
                                "contentMultiline": False,
                                "icon": "",
                                "iconUrl": "",
                                "onClick": {},
                                "topLabel": ""
                            },
                            "textParagraph": { "text": "" }
                        }
                    ]
                }
            ]
        }
    ],
    "cardsV2": [
        {
            "card": {},
            "cardId": ""
        }
    ],
    "clientAssignedMessageId": "",
    "createTime": "",
    "fallbackText": "",
    "lastUpdateTime": "",
    "matchedUrl": { "url": "" },
    "name": "",
    "sender": {},
    "slashCommand": { "commandId": "" },
    "space": {
        "adminInstalled": False,
        "displayName": "",
        "name": "",
        "singleUserBotDm": False,
        "spaceDetails": {
            "description": "",
            "guidelines": ""
        },
        "spaceThreadingState": "",
        "threaded": False,
        "type": ""
    },
    "text": "",
    "thread": {
        "name": "",
        "threadKey": ""
    },
    "threadReply": False
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:parent/messages"

payload <- "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:parent/messages")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/v1/:parent/messages') do |req|
  req.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:parent/messages";

    let payload = json!({
        "actionResponse": json!({
            "dialogAction": json!({
                "actionStatus": json!({
                    "statusCode": "",
                    "userFacingMessage": ""
                }),
                "dialog": json!({"body": json!({
                        "cardActions": (
                            json!({
                                "actionLabel": "",
                                "onClick": json!({
                                    "action": json!({
                                        "function": "",
                                        "interaction": "",
                                        "loadIndicator": "",
                                        "parameters": (
                                            json!({
                                                "key": "",
                                                "value": ""
                                            })
                                        ),
                                        "persistValues": false
                                    }),
                                    "card": "",
                                    "openDynamicLinkAction": json!({}),
                                    "openLink": json!({
                                        "onClose": "",
                                        "openAs": "",
                                        "url": ""
                                    })
                                })
                            })
                        ),
                        "displayStyle": "",
                        "fixedFooter": json!({
                            "primaryButton": json!({
                                "altText": "",
                                "color": json!({
                                    "alpha": "",
                                    "blue": "",
                                    "green": "",
                                    "red": ""
                                }),
                                "disabled": false,
                                "icon": json!({
                                    "altText": "",
                                    "iconUrl": "",
                                    "imageType": "",
                                    "knownIcon": ""
                                }),
                                "onClick": json!({}),
                                "text": ""
                            }),
                            "secondaryButton": json!({})
                        }),
                        "header": json!({
                            "imageAltText": "",
                            "imageType": "",
                            "imageUrl": "",
                            "subtitle": "",
                            "title": ""
                        }),
                        "name": "",
                        "peekCardHeader": json!({}),
                        "sections": (
                            json!({
                                "collapsible": false,
                                "header": "",
                                "uncollapsibleWidgetsCount": 0,
                                "widgets": (
                                    json!({
                                        "buttonList": json!({"buttons": (json!({}))}),
                                        "dateTimePicker": json!({
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "timezoneOffsetDate": 0,
                                            "type": "",
                                            "valueMsEpoch": ""
                                        }),
                                        "decoratedText": json!({
                                            "bottomLabel": "",
                                            "button": json!({}),
                                            "endIcon": json!({}),
                                            "icon": json!({}),
                                            "onClick": json!({}),
                                            "startIcon": json!({}),
                                            "switchControl": json!({
                                                "controlType": "",
                                                "name": "",
                                                "onChangeAction": json!({}),
                                                "selected": false,
                                                "value": ""
                                            }),
                                            "text": "",
                                            "topLabel": "",
                                            "wrapText": false
                                        }),
                                        "divider": json!({}),
                                        "grid": json!({
                                            "borderStyle": json!({
                                                "cornerRadius": 0,
                                                "strokeColor": json!({}),
                                                "type": ""
                                            }),
                                            "columnCount": 0,
                                            "items": (
                                                json!({
                                                    "id": "",
                                                    "image": json!({
                                                        "altText": "",
                                                        "borderStyle": json!({}),
                                                        "cropStyle": json!({
                                                            "aspectRatio": "",
                                                            "type": ""
                                                        }),
                                                        "imageUri": ""
                                                    }),
                                                    "layout": "",
                                                    "subtitle": "",
                                                    "title": ""
                                                })
                                            ),
                                            "onClick": json!({}),
                                            "title": ""
                                        }),
                                        "image": json!({
                                            "altText": "",
                                            "imageUrl": "",
                                            "onClick": json!({})
                                        }),
                                        "selectionInput": json!({
                                            "items": (
                                                json!({
                                                    "selected": false,
                                                    "text": "",
                                                    "value": ""
                                                })
                                            ),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": ""
                                        }),
                                        "textInput": json!({
                                            "autoCompleteAction": json!({}),
                                            "hintText": "",
                                            "initialSuggestions": json!({"items": (json!({"text": ""}))}),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": "",
                                            "value": ""
                                        }),
                                        "textParagraph": json!({"text": ""})
                                    })
                                )
                            })
                        )
                    })})
            }),
            "type": "",
            "url": ""
        }),
        "annotations": (
            json!({
                "length": 0,
                "slashCommand": json!({
                    "bot": json!({
                        "displayName": "",
                        "domainId": "",
                        "isAnonymous": false,
                        "name": "",
                        "type": ""
                    }),
                    "commandId": "",
                    "commandName": "",
                    "triggersDialog": false,
                    "type": ""
                }),
                "startIndex": 0,
                "type": "",
                "userMention": json!({
                    "type": "",
                    "user": json!({})
                })
            })
        ),
        "argumentText": "",
        "attachment": (
            json!({
                "attachmentDataRef": json!({"resourceName": ""}),
                "contentName": "",
                "contentType": "",
                "downloadUri": "",
                "driveDataRef": json!({"driveFileId": ""}),
                "name": "",
                "source": "",
                "thumbnailUri": ""
            })
        ),
        "cards": (
            json!({
                "cardActions": (
                    json!({
                        "actionLabel": "",
                        "onClick": json!({
                            "action": json!({
                                "actionMethodName": "",
                                "parameters": (
                                    json!({
                                        "key": "",
                                        "value": ""
                                    })
                                )
                            }),
                            "openLink": json!({"url": ""})
                        })
                    })
                ),
                "header": json!({
                    "imageStyle": "",
                    "imageUrl": "",
                    "subtitle": "",
                    "title": ""
                }),
                "name": "",
                "sections": (
                    json!({
                        "header": "",
                        "widgets": (
                            json!({
                                "buttons": (
                                    json!({
                                        "imageButton": json!({
                                            "icon": "",
                                            "iconUrl": "",
                                            "name": "",
                                            "onClick": json!({})
                                        }),
                                        "textButton": json!({
                                            "onClick": json!({}),
                                            "text": ""
                                        })
                                    })
                                ),
                                "image": json!({
                                    "aspectRatio": "",
                                    "imageUrl": "",
                                    "onClick": json!({})
                                }),
                                "keyValue": json!({
                                    "bottomLabel": "",
                                    "button": json!({}),
                                    "content": "",
                                    "contentMultiline": false,
                                    "icon": "",
                                    "iconUrl": "",
                                    "onClick": json!({}),
                                    "topLabel": ""
                                }),
                                "textParagraph": json!({"text": ""})
                            })
                        )
                    })
                )
            })
        ),
        "cardsV2": (
            json!({
                "card": json!({}),
                "cardId": ""
            })
        ),
        "clientAssignedMessageId": "",
        "createTime": "",
        "fallbackText": "",
        "lastUpdateTime": "",
        "matchedUrl": json!({"url": ""}),
        "name": "",
        "sender": json!({}),
        "slashCommand": json!({"commandId": ""}),
        "space": json!({
            "adminInstalled": false,
            "displayName": "",
            "name": "",
            "singleUserBotDm": false,
            "spaceDetails": json!({
                "description": "",
                "guidelines": ""
            }),
            "spaceThreadingState": "",
            "threaded": false,
            "type": ""
        }),
        "text": "",
        "thread": json!({
            "name": "",
            "threadKey": ""
        }),
        "threadReply": false
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/v1/:parent/messages \
  --header 'content-type: application/json' \
  --data '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
echo '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}' |  \
  http POST {{baseUrl}}/v1/:parent/messages \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}' \
  --output-document \
  - {{baseUrl}}/v1/:parent/messages
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "actionResponse": [
    "dialogAction": [
      "actionStatus": [
        "statusCode": "",
        "userFacingMessage": ""
      ],
      "dialog": ["body": [
          "cardActions": [
            [
              "actionLabel": "",
              "onClick": [
                "action": [
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    [
                      "key": "",
                      "value": ""
                    ]
                  ],
                  "persistValues": false
                ],
                "card": "",
                "openDynamicLinkAction": [],
                "openLink": [
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                ]
              ]
            ]
          ],
          "displayStyle": "",
          "fixedFooter": [
            "primaryButton": [
              "altText": "",
              "color": [
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              ],
              "disabled": false,
              "icon": [
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              ],
              "onClick": [],
              "text": ""
            ],
            "secondaryButton": []
          ],
          "header": [
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          ],
          "name": "",
          "peekCardHeader": [],
          "sections": [
            [
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                [
                  "buttonList": ["buttons": [[]]],
                  "dateTimePicker": [
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  ],
                  "decoratedText": [
                    "bottomLabel": "",
                    "button": [],
                    "endIcon": [],
                    "icon": [],
                    "onClick": [],
                    "startIcon": [],
                    "switchControl": [
                      "controlType": "",
                      "name": "",
                      "onChangeAction": [],
                      "selected": false,
                      "value": ""
                    ],
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  ],
                  "divider": [],
                  "grid": [
                    "borderStyle": [
                      "cornerRadius": 0,
                      "strokeColor": [],
                      "type": ""
                    ],
                    "columnCount": 0,
                    "items": [
                      [
                        "id": "",
                        "image": [
                          "altText": "",
                          "borderStyle": [],
                          "cropStyle": [
                            "aspectRatio": "",
                            "type": ""
                          ],
                          "imageUri": ""
                        ],
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      ]
                    ],
                    "onClick": [],
                    "title": ""
                  ],
                  "image": [
                    "altText": "",
                    "imageUrl": "",
                    "onClick": []
                  ],
                  "selectionInput": [
                    "items": [
                      [
                        "selected": false,
                        "text": "",
                        "value": ""
                      ]
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": ""
                  ],
                  "textInput": [
                    "autoCompleteAction": [],
                    "hintText": "",
                    "initialSuggestions": ["items": [["text": ""]]],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": "",
                    "value": ""
                  ],
                  "textParagraph": ["text": ""]
                ]
              ]
            ]
          ]
        ]]
    ],
    "type": "",
    "url": ""
  ],
  "annotations": [
    [
      "length": 0,
      "slashCommand": [
        "bot": [
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        ],
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      ],
      "startIndex": 0,
      "type": "",
      "userMention": [
        "type": "",
        "user": []
      ]
    ]
  ],
  "argumentText": "",
  "attachment": [
    [
      "attachmentDataRef": ["resourceName": ""],
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": ["driveFileId": ""],
      "name": "",
      "source": "",
      "thumbnailUri": ""
    ]
  ],
  "cards": [
    [
      "cardActions": [
        [
          "actionLabel": "",
          "onClick": [
            "action": [
              "actionMethodName": "",
              "parameters": [
                [
                  "key": "",
                  "value": ""
                ]
              ]
            ],
            "openLink": ["url": ""]
          ]
        ]
      ],
      "header": [
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      ],
      "name": "",
      "sections": [
        [
          "header": "",
          "widgets": [
            [
              "buttons": [
                [
                  "imageButton": [
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": []
                  ],
                  "textButton": [
                    "onClick": [],
                    "text": ""
                  ]
                ]
              ],
              "image": [
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": []
              ],
              "keyValue": [
                "bottomLabel": "",
                "button": [],
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": [],
                "topLabel": ""
              ],
              "textParagraph": ["text": ""]
            ]
          ]
        ]
      ]
    ]
  ],
  "cardsV2": [
    [
      "card": [],
      "cardId": ""
    ]
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": ["url": ""],
  "name": "",
  "sender": [],
  "slashCommand": ["commandId": ""],
  "space": [
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": [
      "description": "",
      "guidelines": ""
    ],
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  ],
  "text": "",
  "thread": [
    "name": "",
    "threadKey": ""
  ],
  "threadReply": false
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:parent/messages")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE chat.spaces.messages.delete
{{baseUrl}}/v1/:name
QUERY PARAMS

name
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/v1/:name")
require "http/client"

url = "{{baseUrl}}/v1/:name"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/v1/:name"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:name"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/v1/:name HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/v1/:name")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:name"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/v1/:name")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/v1/:name');

xhr.send(data);
import axios from 'axios';

const options = {method: 'DELETE', url: '{{baseUrl}}/v1/:name'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:name',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:name',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'DELETE', url: '{{baseUrl}}/v1/:name'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/v1/:name');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'DELETE', url: '{{baseUrl}}/v1/:name'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:name';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:name" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:name",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/v1/:name');

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HTTP_METH_DELETE);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('DELETE');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/v1/:name")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:name"

response = requests.delete(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:name"

response <- VERB("DELETE", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:name")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/v1/:name') do |req|
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:name";

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url {{baseUrl}}/v1/:name
http DELETE {{baseUrl}}/v1/:name
wget --quiet \
  --method DELETE \
  --output-document \
  - {{baseUrl}}/v1/:name
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PATCH chat.spaces.messages.patch
{{baseUrl}}/v1/:name
QUERY PARAMS

name
BODY json

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/patch "{{baseUrl}}/v1/:name" {:content-type :json
                                                      :form-params {:actionResponse {:dialogAction {:actionStatus {:statusCode ""
                                                                                                                   :userFacingMessage ""}
                                                                                                    :dialog {:body {:cardActions [{:actionLabel ""
                                                                                                                                   :onClick {:action {:function ""
                                                                                                                                                      :interaction ""
                                                                                                                                                      :loadIndicator ""
                                                                                                                                                      :parameters [{:key ""
                                                                                                                                                                    :value ""}]
                                                                                                                                                      :persistValues false}
                                                                                                                                             :card ""
                                                                                                                                             :openDynamicLinkAction {}
                                                                                                                                             :openLink {:onClose ""
                                                                                                                                                        :openAs ""
                                                                                                                                                        :url ""}}}]
                                                                                                                    :displayStyle ""
                                                                                                                    :fixedFooter {:primaryButton {:altText ""
                                                                                                                                                  :color {:alpha ""
                                                                                                                                                          :blue ""
                                                                                                                                                          :green ""
                                                                                                                                                          :red ""}
                                                                                                                                                  :disabled false
                                                                                                                                                  :icon {:altText ""
                                                                                                                                                         :iconUrl ""
                                                                                                                                                         :imageType ""
                                                                                                                                                         :knownIcon ""}
                                                                                                                                                  :onClick {}
                                                                                                                                                  :text ""}
                                                                                                                                  :secondaryButton {}}
                                                                                                                    :header {:imageAltText ""
                                                                                                                             :imageType ""
                                                                                                                             :imageUrl ""
                                                                                                                             :subtitle ""
                                                                                                                             :title ""}
                                                                                                                    :name ""
                                                                                                                    :peekCardHeader {}
                                                                                                                    :sections [{:collapsible false
                                                                                                                                :header ""
                                                                                                                                :uncollapsibleWidgetsCount 0
                                                                                                                                :widgets [{:buttonList {:buttons [{}]}
                                                                                                                                           :dateTimePicker {:label ""
                                                                                                                                                            :name ""
                                                                                                                                                            :onChangeAction {}
                                                                                                                                                            :timezoneOffsetDate 0
                                                                                                                                                            :type ""
                                                                                                                                                            :valueMsEpoch ""}
                                                                                                                                           :decoratedText {:bottomLabel ""
                                                                                                                                                           :button {}
                                                                                                                                                           :endIcon {}
                                                                                                                                                           :icon {}
                                                                                                                                                           :onClick {}
                                                                                                                                                           :startIcon {}
                                                                                                                                                           :switchControl {:controlType ""
                                                                                                                                                                           :name ""
                                                                                                                                                                           :onChangeAction {}
                                                                                                                                                                           :selected false
                                                                                                                                                                           :value ""}
                                                                                                                                                           :text ""
                                                                                                                                                           :topLabel ""
                                                                                                                                                           :wrapText false}
                                                                                                                                           :divider {}
                                                                                                                                           :grid {:borderStyle {:cornerRadius 0
                                                                                                                                                                :strokeColor {}
                                                                                                                                                                :type ""}
                                                                                                                                                  :columnCount 0
                                                                                                                                                  :items [{:id ""
                                                                                                                                                           :image {:altText ""
                                                                                                                                                                   :borderStyle {}
                                                                                                                                                                   :cropStyle {:aspectRatio ""
                                                                                                                                                                               :type ""}
                                                                                                                                                                   :imageUri ""}
                                                                                                                                                           :layout ""
                                                                                                                                                           :subtitle ""
                                                                                                                                                           :title ""}]
                                                                                                                                                  :onClick {}
                                                                                                                                                  :title ""}
                                                                                                                                           :image {:altText ""
                                                                                                                                                   :imageUrl ""
                                                                                                                                                   :onClick {}}
                                                                                                                                           :selectionInput {:items [{:selected false
                                                                                                                                                                     :text ""
                                                                                                                                                                     :value ""}]
                                                                                                                                                            :label ""
                                                                                                                                                            :name ""
                                                                                                                                                            :onChangeAction {}
                                                                                                                                                            :type ""}
                                                                                                                                           :textInput {:autoCompleteAction {}
                                                                                                                                                       :hintText ""
                                                                                                                                                       :initialSuggestions {:items [{:text ""}]}
                                                                                                                                                       :label ""
                                                                                                                                                       :name ""
                                                                                                                                                       :onChangeAction {}
                                                                                                                                                       :type ""
                                                                                                                                                       :value ""}
                                                                                                                                           :textParagraph {:text ""}}]}]}}}
                                                                                     :type ""
                                                                                     :url ""}
                                                                    :annotations [{:length 0
                                                                                   :slashCommand {:bot {:displayName ""
                                                                                                        :domainId ""
                                                                                                        :isAnonymous false
                                                                                                        :name ""
                                                                                                        :type ""}
                                                                                                  :commandId ""
                                                                                                  :commandName ""
                                                                                                  :triggersDialog false
                                                                                                  :type ""}
                                                                                   :startIndex 0
                                                                                   :type ""
                                                                                   :userMention {:type ""
                                                                                                 :user {}}}]
                                                                    :argumentText ""
                                                                    :attachment [{:attachmentDataRef {:resourceName ""}
                                                                                  :contentName ""
                                                                                  :contentType ""
                                                                                  :downloadUri ""
                                                                                  :driveDataRef {:driveFileId ""}
                                                                                  :name ""
                                                                                  :source ""
                                                                                  :thumbnailUri ""}]
                                                                    :cards [{:cardActions [{:actionLabel ""
                                                                                            :onClick {:action {:actionMethodName ""
                                                                                                               :parameters [{:key ""
                                                                                                                             :value ""}]}
                                                                                                      :openLink {:url ""}}}]
                                                                             :header {:imageStyle ""
                                                                                      :imageUrl ""
                                                                                      :subtitle ""
                                                                                      :title ""}
                                                                             :name ""
                                                                             :sections [{:header ""
                                                                                         :widgets [{:buttons [{:imageButton {:icon ""
                                                                                                                             :iconUrl ""
                                                                                                                             :name ""
                                                                                                                             :onClick {}}
                                                                                                               :textButton {:onClick {}
                                                                                                                            :text ""}}]
                                                                                                    :image {:aspectRatio ""
                                                                                                            :imageUrl ""
                                                                                                            :onClick {}}
                                                                                                    :keyValue {:bottomLabel ""
                                                                                                               :button {}
                                                                                                               :content ""
                                                                                                               :contentMultiline false
                                                                                                               :icon ""
                                                                                                               :iconUrl ""
                                                                                                               :onClick {}
                                                                                                               :topLabel ""}
                                                                                                    :textParagraph {:text ""}}]}]}]
                                                                    :cardsV2 [{:card {}
                                                                               :cardId ""}]
                                                                    :clientAssignedMessageId ""
                                                                    :createTime ""
                                                                    :fallbackText ""
                                                                    :lastUpdateTime ""
                                                                    :matchedUrl {:url ""}
                                                                    :name ""
                                                                    :sender {}
                                                                    :slashCommand {:commandId ""}
                                                                    :space {:adminInstalled false
                                                                            :displayName ""
                                                                            :name ""
                                                                            :singleUserBotDm false
                                                                            :spaceDetails {:description ""
                                                                                           :guidelines ""}
                                                                            :spaceThreadingState ""
                                                                            :threaded false
                                                                            :type ""}
                                                                    :text ""
                                                                    :thread {:name ""
                                                                             :threadKey ""}
                                                                    :threadReply false}})
require "http/client"

url = "{{baseUrl}}/v1/:name"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Patch,
    RequestUri = new Uri("{{baseUrl}}/v1/:name"),
    Content = new StringContent("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:name"

	payload := strings.NewReader("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PATCH /baseUrl/v1/:name HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 8235

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/v1/:name")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:name"))
    .header("content-type", "application/json")
    .method("PATCH", HttpRequest.BodyPublishers.ofString("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/v1/:name")
  .header("content-type", "application/json")
  .body("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .asString();
const data = JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PATCH', '{{baseUrl}}/v1/:name');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:name',
  method: 'PATCH',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PATCH',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:name',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {statusCode: '', userFacingMessage: ''},
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [{key: '', value: ''}],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {onClose: '', openAs: '', url: ''}
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {alpha: '', blue: '', green: '', red: ''},
              disabled: false,
              icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {buttons: [{}]},
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {aspectRatio: '', type: ''},
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {altText: '', imageUrl: '', onClick: {}},
                  selectionInput: {
                    items: [{selected: false, text: '', value: ''}],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {items: [{text: ''}]},
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {text: ''}
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {type: '', user: {}}
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {resourceName: ''},
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {driveFileId: ''},
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
            openLink: {url: ''}
          }
        }
      ],
      header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                  textButton: {onClick: {}, text: ''}
                }
              ],
              image: {aspectRatio: '', imageUrl: '', onClick: {}},
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {text: ''}
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [{card: {}, cardId: ''}],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {url: ''},
  name: '',
  sender: {},
  slashCommand: {commandId: ''},
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {description: '', guidelines: ''},
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {name: '', threadKey: ''},
  threadReply: false
}));
req.end();
const request = require('request');

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  body: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PATCH', '{{baseUrl}}/v1/:name');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:name';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"actionResponse": @{ @"dialogAction": @{ @"actionStatus": @{ @"statusCode": @"", @"userFacingMessage": @"" }, @"dialog": @{ @"body": @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"function": @"", @"interaction": @"", @"loadIndicator": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ], @"persistValues": @NO }, @"card": @"", @"openDynamicLinkAction": @{  }, @"openLink": @{ @"onClose": @"", @"openAs": @"", @"url": @"" } } } ], @"displayStyle": @"", @"fixedFooter": @{ @"primaryButton": @{ @"altText": @"", @"color": @{ @"alpha": @"", @"blue": @"", @"green": @"", @"red": @"" }, @"disabled": @NO, @"icon": @{ @"altText": @"", @"iconUrl": @"", @"imageType": @"", @"knownIcon": @"" }, @"onClick": @{  }, @"text": @"" }, @"secondaryButton": @{  } }, @"header": @{ @"imageAltText": @"", @"imageType": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"peekCardHeader": @{  }, @"sections": @[ @{ @"collapsible": @NO, @"header": @"", @"uncollapsibleWidgetsCount": @0, @"widgets": @[ @{ @"buttonList": @{ @"buttons": @[ @{  } ] }, @"dateTimePicker": @{ @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"timezoneOffsetDate": @0, @"type": @"", @"valueMsEpoch": @"" }, @"decoratedText": @{ @"bottomLabel": @"", @"button": @{  }, @"endIcon": @{  }, @"icon": @{  }, @"onClick": @{  }, @"startIcon": @{  }, @"switchControl": @{ @"controlType": @"", @"name": @"", @"onChangeAction": @{  }, @"selected": @NO, @"value": @"" }, @"text": @"", @"topLabel": @"", @"wrapText": @NO }, @"divider": @{  }, @"grid": @{ @"borderStyle": @{ @"cornerRadius": @0, @"strokeColor": @{  }, @"type": @"" }, @"columnCount": @0, @"items": @[ @{ @"id": @"", @"image": @{ @"altText": @"", @"borderStyle": @{  }, @"cropStyle": @{ @"aspectRatio": @"", @"type": @"" }, @"imageUri": @"" }, @"layout": @"", @"subtitle": @"", @"title": @"" } ], @"onClick": @{  }, @"title": @"" }, @"image": @{ @"altText": @"", @"imageUrl": @"", @"onClick": @{  } }, @"selectionInput": @{ @"items": @[ @{ @"selected": @NO, @"text": @"", @"value": @"" } ], @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"" }, @"textInput": @{ @"autoCompleteAction": @{  }, @"hintText": @"", @"initialSuggestions": @{ @"items": @[ @{ @"text": @"" } ] }, @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"", @"value": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } } }, @"type": @"", @"url": @"" },
                              @"annotations": @[ @{ @"length": @0, @"slashCommand": @{ @"bot": @{ @"displayName": @"", @"domainId": @"", @"isAnonymous": @NO, @"name": @"", @"type": @"" }, @"commandId": @"", @"commandName": @"", @"triggersDialog": @NO, @"type": @"" }, @"startIndex": @0, @"type": @"", @"userMention": @{ @"type": @"", @"user": @{  } } } ],
                              @"argumentText": @"",
                              @"attachment": @[ @{ @"attachmentDataRef": @{ @"resourceName": @"" }, @"contentName": @"", @"contentType": @"", @"downloadUri": @"", @"driveDataRef": @{ @"driveFileId": @"" }, @"name": @"", @"source": @"", @"thumbnailUri": @"" } ],
                              @"cards": @[ @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"actionMethodName": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ] }, @"openLink": @{ @"url": @"" } } } ], @"header": @{ @"imageStyle": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"sections": @[ @{ @"header": @"", @"widgets": @[ @{ @"buttons": @[ @{ @"imageButton": @{ @"icon": @"", @"iconUrl": @"", @"name": @"", @"onClick": @{  } }, @"textButton": @{ @"onClick": @{  }, @"text": @"" } } ], @"image": @{ @"aspectRatio": @"", @"imageUrl": @"", @"onClick": @{  } }, @"keyValue": @{ @"bottomLabel": @"", @"button": @{  }, @"content": @"", @"contentMultiline": @NO, @"icon": @"", @"iconUrl": @"", @"onClick": @{  }, @"topLabel": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } ],
                              @"cardsV2": @[ @{ @"card": @{  }, @"cardId": @"" } ],
                              @"clientAssignedMessageId": @"",
                              @"createTime": @"",
                              @"fallbackText": @"",
                              @"lastUpdateTime": @"",
                              @"matchedUrl": @{ @"url": @"" },
                              @"name": @"",
                              @"sender": @{  },
                              @"slashCommand": @{ @"commandId": @"" },
                              @"space": @{ @"adminInstalled": @NO, @"displayName": @"", @"name": @"", @"singleUserBotDm": @NO, @"spaceDetails": @{ @"description": @"", @"guidelines": @"" }, @"spaceThreadingState": @"", @"threaded": @NO, @"type": @"" },
                              @"text": @"",
                              @"thread": @{ @"name": @"", @"threadKey": @"" },
                              @"threadReply": @NO };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:name" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}" in

Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:name",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PATCH",
  CURLOPT_POSTFIELDS => json_encode([
    'actionResponse' => [
        'dialogAction' => [
                'actionStatus' => [
                                'statusCode' => '',
                                'userFacingMessage' => ''
                ],
                'dialog' => [
                                'body' => [
                                                                'cardActions' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'actionLabel' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'displayStyle' => '',
                                                                'fixedFooter' => [
                                                                                                                                'primaryButton' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'disabled' => null,
                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ],
                                                                                                                                'secondaryButton' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ]
                                                                ],
                                                                'header' => [
                                                                                                                                'imageAltText' => '',
                                                                                                                                'imageType' => '',
                                                                                                                                'imageUrl' => '',
                                                                                                                                'subtitle' => '',
                                                                                                                                'title' => ''
                                                                ],
                                                                'name' => '',
                                                                'peekCardHeader' => [
                                                                                                                                
                                                                ],
                                                                'sections' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'collapsible' => null,
                                                                                                                                                                                                                                                                'header' => '',
                                                                                                                                                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ],
        'type' => '',
        'url' => ''
    ],
    'annotations' => [
        [
                'length' => 0,
                'slashCommand' => [
                                'bot' => [
                                                                'displayName' => '',
                                                                'domainId' => '',
                                                                'isAnonymous' => null,
                                                                'name' => '',
                                                                'type' => ''
                                ],
                                'commandId' => '',
                                'commandName' => '',
                                'triggersDialog' => null,
                                'type' => ''
                ],
                'startIndex' => 0,
                'type' => '',
                'userMention' => [
                                'type' => '',
                                'user' => [
                                                                
                                ]
                ]
        ]
    ],
    'argumentText' => '',
    'attachment' => [
        [
                'attachmentDataRef' => [
                                'resourceName' => ''
                ],
                'contentName' => '',
                'contentType' => '',
                'downloadUri' => '',
                'driveDataRef' => [
                                'driveFileId' => ''
                ],
                'name' => '',
                'source' => '',
                'thumbnailUri' => ''
        ]
    ],
    'cards' => [
        [
                'cardActions' => [
                                [
                                                                'actionLabel' => '',
                                                                'onClick' => [
                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                'actionMethodName' => '',
                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ],
                'header' => [
                                'imageStyle' => '',
                                'imageUrl' => '',
                                'subtitle' => '',
                                'title' => ''
                ],
                'name' => '',
                'sections' => [
                                [
                                                                'header' => '',
                                                                'widgets' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'cardsV2' => [
        [
                'card' => [
                                
                ],
                'cardId' => ''
        ]
    ],
    'clientAssignedMessageId' => '',
    'createTime' => '',
    'fallbackText' => '',
    'lastUpdateTime' => '',
    'matchedUrl' => [
        'url' => ''
    ],
    'name' => '',
    'sender' => [
        
    ],
    'slashCommand' => [
        'commandId' => ''
    ],
    'space' => [
        'adminInstalled' => null,
        'displayName' => '',
        'name' => '',
        'singleUserBotDm' => null,
        'spaceDetails' => [
                'description' => '',
                'guidelines' => ''
        ],
        'spaceThreadingState' => '',
        'threaded' => null,
        'type' => ''
    ],
    'text' => '',
    'thread' => [
        'name' => '',
        'threadKey' => ''
    ],
    'threadReply' => null
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PATCH', '{{baseUrl}}/v1/:name', [
  'body' => '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));
$request->setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('PATCH');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

headers = { 'content-type': "application/json" }

conn.request("PATCH", "/baseUrl/v1/:name", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:name"

payload = {
    "actionResponse": {
        "dialogAction": {
            "actionStatus": {
                "statusCode": "",
                "userFacingMessage": ""
            },
            "dialog": { "body": {
                    "cardActions": [
                        {
                            "actionLabel": "",
                            "onClick": {
                                "action": {
                                    "function": "",
                                    "interaction": "",
                                    "loadIndicator": "",
                                    "parameters": [
                                        {
                                            "key": "",
                                            "value": ""
                                        }
                                    ],
                                    "persistValues": False
                                },
                                "card": "",
                                "openDynamicLinkAction": {},
                                "openLink": {
                                    "onClose": "",
                                    "openAs": "",
                                    "url": ""
                                }
                            }
                        }
                    ],
                    "displayStyle": "",
                    "fixedFooter": {
                        "primaryButton": {
                            "altText": "",
                            "color": {
                                "alpha": "",
                                "blue": "",
                                "green": "",
                                "red": ""
                            },
                            "disabled": False,
                            "icon": {
                                "altText": "",
                                "iconUrl": "",
                                "imageType": "",
                                "knownIcon": ""
                            },
                            "onClick": {},
                            "text": ""
                        },
                        "secondaryButton": {}
                    },
                    "header": {
                        "imageAltText": "",
                        "imageType": "",
                        "imageUrl": "",
                        "subtitle": "",
                        "title": ""
                    },
                    "name": "",
                    "peekCardHeader": {},
                    "sections": [
                        {
                            "collapsible": False,
                            "header": "",
                            "uncollapsibleWidgetsCount": 0,
                            "widgets": [
                                {
                                    "buttonList": { "buttons": [{}] },
                                    "dateTimePicker": {
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "timezoneOffsetDate": 0,
                                        "type": "",
                                        "valueMsEpoch": ""
                                    },
                                    "decoratedText": {
                                        "bottomLabel": "",
                                        "button": {},
                                        "endIcon": {},
                                        "icon": {},
                                        "onClick": {},
                                        "startIcon": {},
                                        "switchControl": {
                                            "controlType": "",
                                            "name": "",
                                            "onChangeAction": {},
                                            "selected": False,
                                            "value": ""
                                        },
                                        "text": "",
                                        "topLabel": "",
                                        "wrapText": False
                                    },
                                    "divider": {},
                                    "grid": {
                                        "borderStyle": {
                                            "cornerRadius": 0,
                                            "strokeColor": {},
                                            "type": ""
                                        },
                                        "columnCount": 0,
                                        "items": [
                                            {
                                                "id": "",
                                                "image": {
                                                    "altText": "",
                                                    "borderStyle": {},
                                                    "cropStyle": {
                                                        "aspectRatio": "",
                                                        "type": ""
                                                    },
                                                    "imageUri": ""
                                                },
                                                "layout": "",
                                                "subtitle": "",
                                                "title": ""
                                            }
                                        ],
                                        "onClick": {},
                                        "title": ""
                                    },
                                    "image": {
                                        "altText": "",
                                        "imageUrl": "",
                                        "onClick": {}
                                    },
                                    "selectionInput": {
                                        "items": [
                                            {
                                                "selected": False,
                                                "text": "",
                                                "value": ""
                                            }
                                        ],
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": ""
                                    },
                                    "textInput": {
                                        "autoCompleteAction": {},
                                        "hintText": "",
                                        "initialSuggestions": { "items": [{ "text": "" }] },
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": "",
                                        "value": ""
                                    },
                                    "textParagraph": { "text": "" }
                                }
                            ]
                        }
                    ]
                } }
        },
        "type": "",
        "url": ""
    },
    "annotations": [
        {
            "length": 0,
            "slashCommand": {
                "bot": {
                    "displayName": "",
                    "domainId": "",
                    "isAnonymous": False,
                    "name": "",
                    "type": ""
                },
                "commandId": "",
                "commandName": "",
                "triggersDialog": False,
                "type": ""
            },
            "startIndex": 0,
            "type": "",
            "userMention": {
                "type": "",
                "user": {}
            }
        }
    ],
    "argumentText": "",
    "attachment": [
        {
            "attachmentDataRef": { "resourceName": "" },
            "contentName": "",
            "contentType": "",
            "downloadUri": "",
            "driveDataRef": { "driveFileId": "" },
            "name": "",
            "source": "",
            "thumbnailUri": ""
        }
    ],
    "cards": [
        {
            "cardActions": [
                {
                    "actionLabel": "",
                    "onClick": {
                        "action": {
                            "actionMethodName": "",
                            "parameters": [
                                {
                                    "key": "",
                                    "value": ""
                                }
                            ]
                        },
                        "openLink": { "url": "" }
                    }
                }
            ],
            "header": {
                "imageStyle": "",
                "imageUrl": "",
                "subtitle": "",
                "title": ""
            },
            "name": "",
            "sections": [
                {
                    "header": "",
                    "widgets": [
                        {
                            "buttons": [
                                {
                                    "imageButton": {
                                        "icon": "",
                                        "iconUrl": "",
                                        "name": "",
                                        "onClick": {}
                                    },
                                    "textButton": {
                                        "onClick": {},
                                        "text": ""
                                    }
                                }
                            ],
                            "image": {
                                "aspectRatio": "",
                                "imageUrl": "",
                                "onClick": {}
                            },
                            "keyValue": {
                                "bottomLabel": "",
                                "button": {},
                                "content": "",
                                "contentMultiline": False,
                                "icon": "",
                                "iconUrl": "",
                                "onClick": {},
                                "topLabel": ""
                            },
                            "textParagraph": { "text": "" }
                        }
                    ]
                }
            ]
        }
    ],
    "cardsV2": [
        {
            "card": {},
            "cardId": ""
        }
    ],
    "clientAssignedMessageId": "",
    "createTime": "",
    "fallbackText": "",
    "lastUpdateTime": "",
    "matchedUrl": { "url": "" },
    "name": "",
    "sender": {},
    "slashCommand": { "commandId": "" },
    "space": {
        "adminInstalled": False,
        "displayName": "",
        "name": "",
        "singleUserBotDm": False,
        "spaceDetails": {
            "description": "",
            "guidelines": ""
        },
        "spaceThreadingState": "",
        "threaded": False,
        "type": ""
    },
    "text": "",
    "thread": {
        "name": "",
        "threadKey": ""
    },
    "threadReply": False
}
headers = {"content-type": "application/json"}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:name"

payload <- "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

encode <- "json"

response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:name")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.patch('/baseUrl/v1/:name') do |req|
  req.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:name";

    let payload = json!({
        "actionResponse": json!({
            "dialogAction": json!({
                "actionStatus": json!({
                    "statusCode": "",
                    "userFacingMessage": ""
                }),
                "dialog": json!({"body": json!({
                        "cardActions": (
                            json!({
                                "actionLabel": "",
                                "onClick": json!({
                                    "action": json!({
                                        "function": "",
                                        "interaction": "",
                                        "loadIndicator": "",
                                        "parameters": (
                                            json!({
                                                "key": "",
                                                "value": ""
                                            })
                                        ),
                                        "persistValues": false
                                    }),
                                    "card": "",
                                    "openDynamicLinkAction": json!({}),
                                    "openLink": json!({
                                        "onClose": "",
                                        "openAs": "",
                                        "url": ""
                                    })
                                })
                            })
                        ),
                        "displayStyle": "",
                        "fixedFooter": json!({
                            "primaryButton": json!({
                                "altText": "",
                                "color": json!({
                                    "alpha": "",
                                    "blue": "",
                                    "green": "",
                                    "red": ""
                                }),
                                "disabled": false,
                                "icon": json!({
                                    "altText": "",
                                    "iconUrl": "",
                                    "imageType": "",
                                    "knownIcon": ""
                                }),
                                "onClick": json!({}),
                                "text": ""
                            }),
                            "secondaryButton": json!({})
                        }),
                        "header": json!({
                            "imageAltText": "",
                            "imageType": "",
                            "imageUrl": "",
                            "subtitle": "",
                            "title": ""
                        }),
                        "name": "",
                        "peekCardHeader": json!({}),
                        "sections": (
                            json!({
                                "collapsible": false,
                                "header": "",
                                "uncollapsibleWidgetsCount": 0,
                                "widgets": (
                                    json!({
                                        "buttonList": json!({"buttons": (json!({}))}),
                                        "dateTimePicker": json!({
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "timezoneOffsetDate": 0,
                                            "type": "",
                                            "valueMsEpoch": ""
                                        }),
                                        "decoratedText": json!({
                                            "bottomLabel": "",
                                            "button": json!({}),
                                            "endIcon": json!({}),
                                            "icon": json!({}),
                                            "onClick": json!({}),
                                            "startIcon": json!({}),
                                            "switchControl": json!({
                                                "controlType": "",
                                                "name": "",
                                                "onChangeAction": json!({}),
                                                "selected": false,
                                                "value": ""
                                            }),
                                            "text": "",
                                            "topLabel": "",
                                            "wrapText": false
                                        }),
                                        "divider": json!({}),
                                        "grid": json!({
                                            "borderStyle": json!({
                                                "cornerRadius": 0,
                                                "strokeColor": json!({}),
                                                "type": ""
                                            }),
                                            "columnCount": 0,
                                            "items": (
                                                json!({
                                                    "id": "",
                                                    "image": json!({
                                                        "altText": "",
                                                        "borderStyle": json!({}),
                                                        "cropStyle": json!({
                                                            "aspectRatio": "",
                                                            "type": ""
                                                        }),
                                                        "imageUri": ""
                                                    }),
                                                    "layout": "",
                                                    "subtitle": "",
                                                    "title": ""
                                                })
                                            ),
                                            "onClick": json!({}),
                                            "title": ""
                                        }),
                                        "image": json!({
                                            "altText": "",
                                            "imageUrl": "",
                                            "onClick": json!({})
                                        }),
                                        "selectionInput": json!({
                                            "items": (
                                                json!({
                                                    "selected": false,
                                                    "text": "",
                                                    "value": ""
                                                })
                                            ),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": ""
                                        }),
                                        "textInput": json!({
                                            "autoCompleteAction": json!({}),
                                            "hintText": "",
                                            "initialSuggestions": json!({"items": (json!({"text": ""}))}),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": "",
                                            "value": ""
                                        }),
                                        "textParagraph": json!({"text": ""})
                                    })
                                )
                            })
                        )
                    })})
            }),
            "type": "",
            "url": ""
        }),
        "annotations": (
            json!({
                "length": 0,
                "slashCommand": json!({
                    "bot": json!({
                        "displayName": "",
                        "domainId": "",
                        "isAnonymous": false,
                        "name": "",
                        "type": ""
                    }),
                    "commandId": "",
                    "commandName": "",
                    "triggersDialog": false,
                    "type": ""
                }),
                "startIndex": 0,
                "type": "",
                "userMention": json!({
                    "type": "",
                    "user": json!({})
                })
            })
        ),
        "argumentText": "",
        "attachment": (
            json!({
                "attachmentDataRef": json!({"resourceName": ""}),
                "contentName": "",
                "contentType": "",
                "downloadUri": "",
                "driveDataRef": json!({"driveFileId": ""}),
                "name": "",
                "source": "",
                "thumbnailUri": ""
            })
        ),
        "cards": (
            json!({
                "cardActions": (
                    json!({
                        "actionLabel": "",
                        "onClick": json!({
                            "action": json!({
                                "actionMethodName": "",
                                "parameters": (
                                    json!({
                                        "key": "",
                                        "value": ""
                                    })
                                )
                            }),
                            "openLink": json!({"url": ""})
                        })
                    })
                ),
                "header": json!({
                    "imageStyle": "",
                    "imageUrl": "",
                    "subtitle": "",
                    "title": ""
                }),
                "name": "",
                "sections": (
                    json!({
                        "header": "",
                        "widgets": (
                            json!({
                                "buttons": (
                                    json!({
                                        "imageButton": json!({
                                            "icon": "",
                                            "iconUrl": "",
                                            "name": "",
                                            "onClick": json!({})
                                        }),
                                        "textButton": json!({
                                            "onClick": json!({}),
                                            "text": ""
                                        })
                                    })
                                ),
                                "image": json!({
                                    "aspectRatio": "",
                                    "imageUrl": "",
                                    "onClick": json!({})
                                }),
                                "keyValue": json!({
                                    "bottomLabel": "",
                                    "button": json!({}),
                                    "content": "",
                                    "contentMultiline": false,
                                    "icon": "",
                                    "iconUrl": "",
                                    "onClick": json!({}),
                                    "topLabel": ""
                                }),
                                "textParagraph": json!({"text": ""})
                            })
                        )
                    })
                )
            })
        ),
        "cardsV2": (
            json!({
                "card": json!({}),
                "cardId": ""
            })
        ),
        "clientAssignedMessageId": "",
        "createTime": "",
        "fallbackText": "",
        "lastUpdateTime": "",
        "matchedUrl": json!({"url": ""}),
        "name": "",
        "sender": json!({}),
        "slashCommand": json!({"commandId": ""}),
        "space": json!({
            "adminInstalled": false,
            "displayName": "",
            "name": "",
            "singleUserBotDm": false,
            "spaceDetails": json!({
                "description": "",
                "guidelines": ""
            }),
            "spaceThreadingState": "",
            "threaded": false,
            "type": ""
        }),
        "text": "",
        "thread": json!({
            "name": "",
            "threadKey": ""
        }),
        "threadReply": false
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PATCH \
  --url {{baseUrl}}/v1/:name \
  --header 'content-type: application/json' \
  --data '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
echo '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}' |  \
  http PATCH {{baseUrl}}/v1/:name \
  content-type:application/json
wget --quiet \
  --method PATCH \
  --header 'content-type: application/json' \
  --body-data '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}' \
  --output-document \
  - {{baseUrl}}/v1/:name
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "actionResponse": [
    "dialogAction": [
      "actionStatus": [
        "statusCode": "",
        "userFacingMessage": ""
      ],
      "dialog": ["body": [
          "cardActions": [
            [
              "actionLabel": "",
              "onClick": [
                "action": [
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    [
                      "key": "",
                      "value": ""
                    ]
                  ],
                  "persistValues": false
                ],
                "card": "",
                "openDynamicLinkAction": [],
                "openLink": [
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                ]
              ]
            ]
          ],
          "displayStyle": "",
          "fixedFooter": [
            "primaryButton": [
              "altText": "",
              "color": [
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              ],
              "disabled": false,
              "icon": [
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              ],
              "onClick": [],
              "text": ""
            ],
            "secondaryButton": []
          ],
          "header": [
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          ],
          "name": "",
          "peekCardHeader": [],
          "sections": [
            [
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                [
                  "buttonList": ["buttons": [[]]],
                  "dateTimePicker": [
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  ],
                  "decoratedText": [
                    "bottomLabel": "",
                    "button": [],
                    "endIcon": [],
                    "icon": [],
                    "onClick": [],
                    "startIcon": [],
                    "switchControl": [
                      "controlType": "",
                      "name": "",
                      "onChangeAction": [],
                      "selected": false,
                      "value": ""
                    ],
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  ],
                  "divider": [],
                  "grid": [
                    "borderStyle": [
                      "cornerRadius": 0,
                      "strokeColor": [],
                      "type": ""
                    ],
                    "columnCount": 0,
                    "items": [
                      [
                        "id": "",
                        "image": [
                          "altText": "",
                          "borderStyle": [],
                          "cropStyle": [
                            "aspectRatio": "",
                            "type": ""
                          ],
                          "imageUri": ""
                        ],
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      ]
                    ],
                    "onClick": [],
                    "title": ""
                  ],
                  "image": [
                    "altText": "",
                    "imageUrl": "",
                    "onClick": []
                  ],
                  "selectionInput": [
                    "items": [
                      [
                        "selected": false,
                        "text": "",
                        "value": ""
                      ]
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": ""
                  ],
                  "textInput": [
                    "autoCompleteAction": [],
                    "hintText": "",
                    "initialSuggestions": ["items": [["text": ""]]],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": "",
                    "value": ""
                  ],
                  "textParagraph": ["text": ""]
                ]
              ]
            ]
          ]
        ]]
    ],
    "type": "",
    "url": ""
  ],
  "annotations": [
    [
      "length": 0,
      "slashCommand": [
        "bot": [
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        ],
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      ],
      "startIndex": 0,
      "type": "",
      "userMention": [
        "type": "",
        "user": []
      ]
    ]
  ],
  "argumentText": "",
  "attachment": [
    [
      "attachmentDataRef": ["resourceName": ""],
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": ["driveFileId": ""],
      "name": "",
      "source": "",
      "thumbnailUri": ""
    ]
  ],
  "cards": [
    [
      "cardActions": [
        [
          "actionLabel": "",
          "onClick": [
            "action": [
              "actionMethodName": "",
              "parameters": [
                [
                  "key": "",
                  "value": ""
                ]
              ]
            ],
            "openLink": ["url": ""]
          ]
        ]
      ],
      "header": [
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      ],
      "name": "",
      "sections": [
        [
          "header": "",
          "widgets": [
            [
              "buttons": [
                [
                  "imageButton": [
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": []
                  ],
                  "textButton": [
                    "onClick": [],
                    "text": ""
                  ]
                ]
              ],
              "image": [
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": []
              ],
              "keyValue": [
                "bottomLabel": "",
                "button": [],
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": [],
                "topLabel": ""
              ],
              "textParagraph": ["text": ""]
            ]
          ]
        ]
      ]
    ]
  ],
  "cardsV2": [
    [
      "card": [],
      "cardId": ""
    ]
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": ["url": ""],
  "name": "",
  "sender": [],
  "slashCommand": ["commandId": ""],
  "space": [
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": [
      "description": "",
      "guidelines": ""
    ],
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  ],
  "text": "",
  "thread": [
    "name": "",
    "threadKey": ""
  ],
  "threadReply": false
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PUT chat.spaces.messages.update
{{baseUrl}}/v1/:name
QUERY PARAMS

name
BODY json

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/v1/:name");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/put "{{baseUrl}}/v1/:name" {:content-type :json
                                                    :form-params {:actionResponse {:dialogAction {:actionStatus {:statusCode ""
                                                                                                                 :userFacingMessage ""}
                                                                                                  :dialog {:body {:cardActions [{:actionLabel ""
                                                                                                                                 :onClick {:action {:function ""
                                                                                                                                                    :interaction ""
                                                                                                                                                    :loadIndicator ""
                                                                                                                                                    :parameters [{:key ""
                                                                                                                                                                  :value ""}]
                                                                                                                                                    :persistValues false}
                                                                                                                                           :card ""
                                                                                                                                           :openDynamicLinkAction {}
                                                                                                                                           :openLink {:onClose ""
                                                                                                                                                      :openAs ""
                                                                                                                                                      :url ""}}}]
                                                                                                                  :displayStyle ""
                                                                                                                  :fixedFooter {:primaryButton {:altText ""
                                                                                                                                                :color {:alpha ""
                                                                                                                                                        :blue ""
                                                                                                                                                        :green ""
                                                                                                                                                        :red ""}
                                                                                                                                                :disabled false
                                                                                                                                                :icon {:altText ""
                                                                                                                                                       :iconUrl ""
                                                                                                                                                       :imageType ""
                                                                                                                                                       :knownIcon ""}
                                                                                                                                                :onClick {}
                                                                                                                                                :text ""}
                                                                                                                                :secondaryButton {}}
                                                                                                                  :header {:imageAltText ""
                                                                                                                           :imageType ""
                                                                                                                           :imageUrl ""
                                                                                                                           :subtitle ""
                                                                                                                           :title ""}
                                                                                                                  :name ""
                                                                                                                  :peekCardHeader {}
                                                                                                                  :sections [{:collapsible false
                                                                                                                              :header ""
                                                                                                                              :uncollapsibleWidgetsCount 0
                                                                                                                              :widgets [{:buttonList {:buttons [{}]}
                                                                                                                                         :dateTimePicker {:label ""
                                                                                                                                                          :name ""
                                                                                                                                                          :onChangeAction {}
                                                                                                                                                          :timezoneOffsetDate 0
                                                                                                                                                          :type ""
                                                                                                                                                          :valueMsEpoch ""}
                                                                                                                                         :decoratedText {:bottomLabel ""
                                                                                                                                                         :button {}
                                                                                                                                                         :endIcon {}
                                                                                                                                                         :icon {}
                                                                                                                                                         :onClick {}
                                                                                                                                                         :startIcon {}
                                                                                                                                                         :switchControl {:controlType ""
                                                                                                                                                                         :name ""
                                                                                                                                                                         :onChangeAction {}
                                                                                                                                                                         :selected false
                                                                                                                                                                         :value ""}
                                                                                                                                                         :text ""
                                                                                                                                                         :topLabel ""
                                                                                                                                                         :wrapText false}
                                                                                                                                         :divider {}
                                                                                                                                         :grid {:borderStyle {:cornerRadius 0
                                                                                                                                                              :strokeColor {}
                                                                                                                                                              :type ""}
                                                                                                                                                :columnCount 0
                                                                                                                                                :items [{:id ""
                                                                                                                                                         :image {:altText ""
                                                                                                                                                                 :borderStyle {}
                                                                                                                                                                 :cropStyle {:aspectRatio ""
                                                                                                                                                                             :type ""}
                                                                                                                                                                 :imageUri ""}
                                                                                                                                                         :layout ""
                                                                                                                                                         :subtitle ""
                                                                                                                                                         :title ""}]
                                                                                                                                                :onClick {}
                                                                                                                                                :title ""}
                                                                                                                                         :image {:altText ""
                                                                                                                                                 :imageUrl ""
                                                                                                                                                 :onClick {}}
                                                                                                                                         :selectionInput {:items [{:selected false
                                                                                                                                                                   :text ""
                                                                                                                                                                   :value ""}]
                                                                                                                                                          :label ""
                                                                                                                                                          :name ""
                                                                                                                                                          :onChangeAction {}
                                                                                                                                                          :type ""}
                                                                                                                                         :textInput {:autoCompleteAction {}
                                                                                                                                                     :hintText ""
                                                                                                                                                     :initialSuggestions {:items [{:text ""}]}
                                                                                                                                                     :label ""
                                                                                                                                                     :name ""
                                                                                                                                                     :onChangeAction {}
                                                                                                                                                     :type ""
                                                                                                                                                     :value ""}
                                                                                                                                         :textParagraph {:text ""}}]}]}}}
                                                                                   :type ""
                                                                                   :url ""}
                                                                  :annotations [{:length 0
                                                                                 :slashCommand {:bot {:displayName ""
                                                                                                      :domainId ""
                                                                                                      :isAnonymous false
                                                                                                      :name ""
                                                                                                      :type ""}
                                                                                                :commandId ""
                                                                                                :commandName ""
                                                                                                :triggersDialog false
                                                                                                :type ""}
                                                                                 :startIndex 0
                                                                                 :type ""
                                                                                 :userMention {:type ""
                                                                                               :user {}}}]
                                                                  :argumentText ""
                                                                  :attachment [{:attachmentDataRef {:resourceName ""}
                                                                                :contentName ""
                                                                                :contentType ""
                                                                                :downloadUri ""
                                                                                :driveDataRef {:driveFileId ""}
                                                                                :name ""
                                                                                :source ""
                                                                                :thumbnailUri ""}]
                                                                  :cards [{:cardActions [{:actionLabel ""
                                                                                          :onClick {:action {:actionMethodName ""
                                                                                                             :parameters [{:key ""
                                                                                                                           :value ""}]}
                                                                                                    :openLink {:url ""}}}]
                                                                           :header {:imageStyle ""
                                                                                    :imageUrl ""
                                                                                    :subtitle ""
                                                                                    :title ""}
                                                                           :name ""
                                                                           :sections [{:header ""
                                                                                       :widgets [{:buttons [{:imageButton {:icon ""
                                                                                                                           :iconUrl ""
                                                                                                                           :name ""
                                                                                                                           :onClick {}}
                                                                                                             :textButton {:onClick {}
                                                                                                                          :text ""}}]
                                                                                                  :image {:aspectRatio ""
                                                                                                          :imageUrl ""
                                                                                                          :onClick {}}
                                                                                                  :keyValue {:bottomLabel ""
                                                                                                             :button {}
                                                                                                             :content ""
                                                                                                             :contentMultiline false
                                                                                                             :icon ""
                                                                                                             :iconUrl ""
                                                                                                             :onClick {}
                                                                                                             :topLabel ""}
                                                                                                  :textParagraph {:text ""}}]}]}]
                                                                  :cardsV2 [{:card {}
                                                                             :cardId ""}]
                                                                  :clientAssignedMessageId ""
                                                                  :createTime ""
                                                                  :fallbackText ""
                                                                  :lastUpdateTime ""
                                                                  :matchedUrl {:url ""}
                                                                  :name ""
                                                                  :sender {}
                                                                  :slashCommand {:commandId ""}
                                                                  :space {:adminInstalled false
                                                                          :displayName ""
                                                                          :name ""
                                                                          :singleUserBotDm false
                                                                          :spaceDetails {:description ""
                                                                                         :guidelines ""}
                                                                          :spaceThreadingState ""
                                                                          :threaded false
                                                                          :type ""}
                                                                  :text ""
                                                                  :thread {:name ""
                                                                           :threadKey ""}
                                                                  :threadReply false}})
require "http/client"

url = "{{baseUrl}}/v1/:name"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = HTTP::Client.put url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Put,
    RequestUri = new Uri("{{baseUrl}}/v1/:name"),
    Content = new StringContent("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/v1/:name");
var request = new RestRequest("", Method.Put);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/v1/:name"

	payload := strings.NewReader("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PUT /baseUrl/v1/:name HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 8235

{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PUT", "{{baseUrl}}/v1/:name")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/v1/:name"))
    .header("content-type", "application/json")
    .method("PUT", HttpRequest.BodyPublishers.ofString("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .put(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.put("{{baseUrl}}/v1/:name")
  .header("content-type", "application/json")
  .body("{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
  .asString();
const data = JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PUT', '{{baseUrl}}/v1/:name');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PUT',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/v1/:name';
const options = {
  method: 'PUT',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/v1/:name',
  method: 'PUT',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/v1/:name")
  .put(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PUT',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/v1/:name',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  actionResponse: {
    dialogAction: {
      actionStatus: {statusCode: '', userFacingMessage: ''},
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [{key: '', value: ''}],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {onClose: '', openAs: '', url: ''}
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {alpha: '', blue: '', green: '', red: ''},
              disabled: false,
              icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {buttons: [{}]},
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {aspectRatio: '', type: ''},
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {altText: '', imageUrl: '', onClick: {}},
                  selectionInput: {
                    items: [{selected: false, text: '', value: ''}],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {items: [{text: ''}]},
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {text: ''}
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {type: '', user: {}}
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {resourceName: ''},
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {driveFileId: ''},
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
            openLink: {url: ''}
          }
        }
      ],
      header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                  textButton: {onClick: {}, text: ''}
                }
              ],
              image: {aspectRatio: '', imageUrl: '', onClick: {}},
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {text: ''}
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [{card: {}, cardId: ''}],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {url: ''},
  name: '',
  sender: {},
  slashCommand: {commandId: ''},
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {description: '', guidelines: ''},
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {name: '', threadKey: ''},
  threadReply: false
}));
req.end();
const request = require('request');

const options = {
  method: 'PUT',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  body: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PUT', '{{baseUrl}}/v1/:name');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  actionResponse: {
    dialogAction: {
      actionStatus: {
        statusCode: '',
        userFacingMessage: ''
      },
      dialog: {
        body: {
          cardActions: [
            {
              actionLabel: '',
              onClick: {
                action: {
                  function: '',
                  interaction: '',
                  loadIndicator: '',
                  parameters: [
                    {
                      key: '',
                      value: ''
                    }
                  ],
                  persistValues: false
                },
                card: '',
                openDynamicLinkAction: {},
                openLink: {
                  onClose: '',
                  openAs: '',
                  url: ''
                }
              }
            }
          ],
          displayStyle: '',
          fixedFooter: {
            primaryButton: {
              altText: '',
              color: {
                alpha: '',
                blue: '',
                green: '',
                red: ''
              },
              disabled: false,
              icon: {
                altText: '',
                iconUrl: '',
                imageType: '',
                knownIcon: ''
              },
              onClick: {},
              text: ''
            },
            secondaryButton: {}
          },
          header: {
            imageAltText: '',
            imageType: '',
            imageUrl: '',
            subtitle: '',
            title: ''
          },
          name: '',
          peekCardHeader: {},
          sections: [
            {
              collapsible: false,
              header: '',
              uncollapsibleWidgetsCount: 0,
              widgets: [
                {
                  buttonList: {
                    buttons: [
                      {}
                    ]
                  },
                  dateTimePicker: {
                    label: '',
                    name: '',
                    onChangeAction: {},
                    timezoneOffsetDate: 0,
                    type: '',
                    valueMsEpoch: ''
                  },
                  decoratedText: {
                    bottomLabel: '',
                    button: {},
                    endIcon: {},
                    icon: {},
                    onClick: {},
                    startIcon: {},
                    switchControl: {
                      controlType: '',
                      name: '',
                      onChangeAction: {},
                      selected: false,
                      value: ''
                    },
                    text: '',
                    topLabel: '',
                    wrapText: false
                  },
                  divider: {},
                  grid: {
                    borderStyle: {
                      cornerRadius: 0,
                      strokeColor: {},
                      type: ''
                    },
                    columnCount: 0,
                    items: [
                      {
                        id: '',
                        image: {
                          altText: '',
                          borderStyle: {},
                          cropStyle: {
                            aspectRatio: '',
                            type: ''
                          },
                          imageUri: ''
                        },
                        layout: '',
                        subtitle: '',
                        title: ''
                      }
                    ],
                    onClick: {},
                    title: ''
                  },
                  image: {
                    altText: '',
                    imageUrl: '',
                    onClick: {}
                  },
                  selectionInput: {
                    items: [
                      {
                        selected: false,
                        text: '',
                        value: ''
                      }
                    ],
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: ''
                  },
                  textInput: {
                    autoCompleteAction: {},
                    hintText: '',
                    initialSuggestions: {
                      items: [
                        {
                          text: ''
                        }
                      ]
                    },
                    label: '',
                    name: '',
                    onChangeAction: {},
                    type: '',
                    value: ''
                  },
                  textParagraph: {
                    text: ''
                  }
                }
              ]
            }
          ]
        }
      }
    },
    type: '',
    url: ''
  },
  annotations: [
    {
      length: 0,
      slashCommand: {
        bot: {
          displayName: '',
          domainId: '',
          isAnonymous: false,
          name: '',
          type: ''
        },
        commandId: '',
        commandName: '',
        triggersDialog: false,
        type: ''
      },
      startIndex: 0,
      type: '',
      userMention: {
        type: '',
        user: {}
      }
    }
  ],
  argumentText: '',
  attachment: [
    {
      attachmentDataRef: {
        resourceName: ''
      },
      contentName: '',
      contentType: '',
      downloadUri: '',
      driveDataRef: {
        driveFileId: ''
      },
      name: '',
      source: '',
      thumbnailUri: ''
    }
  ],
  cards: [
    {
      cardActions: [
        {
          actionLabel: '',
          onClick: {
            action: {
              actionMethodName: '',
              parameters: [
                {
                  key: '',
                  value: ''
                }
              ]
            },
            openLink: {
              url: ''
            }
          }
        }
      ],
      header: {
        imageStyle: '',
        imageUrl: '',
        subtitle: '',
        title: ''
      },
      name: '',
      sections: [
        {
          header: '',
          widgets: [
            {
              buttons: [
                {
                  imageButton: {
                    icon: '',
                    iconUrl: '',
                    name: '',
                    onClick: {}
                  },
                  textButton: {
                    onClick: {},
                    text: ''
                  }
                }
              ],
              image: {
                aspectRatio: '',
                imageUrl: '',
                onClick: {}
              },
              keyValue: {
                bottomLabel: '',
                button: {},
                content: '',
                contentMultiline: false,
                icon: '',
                iconUrl: '',
                onClick: {},
                topLabel: ''
              },
              textParagraph: {
                text: ''
              }
            }
          ]
        }
      ]
    }
  ],
  cardsV2: [
    {
      card: {},
      cardId: ''
    }
  ],
  clientAssignedMessageId: '',
  createTime: '',
  fallbackText: '',
  lastUpdateTime: '',
  matchedUrl: {
    url: ''
  },
  name: '',
  sender: {},
  slashCommand: {
    commandId: ''
  },
  space: {
    adminInstalled: false,
    displayName: '',
    name: '',
    singleUserBotDm: false,
    spaceDetails: {
      description: '',
      guidelines: ''
    },
    spaceThreadingState: '',
    threaded: false,
    type: ''
  },
  text: '',
  thread: {
    name: '',
    threadKey: ''
  },
  threadReply: false
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PUT',
  url: '{{baseUrl}}/v1/:name',
  headers: {'content-type': 'application/json'},
  data: {
    actionResponse: {
      dialogAction: {
        actionStatus: {statusCode: '', userFacingMessage: ''},
        dialog: {
          body: {
            cardActions: [
              {
                actionLabel: '',
                onClick: {
                  action: {
                    function: '',
                    interaction: '',
                    loadIndicator: '',
                    parameters: [{key: '', value: ''}],
                    persistValues: false
                  },
                  card: '',
                  openDynamicLinkAction: {},
                  openLink: {onClose: '', openAs: '', url: ''}
                }
              }
            ],
            displayStyle: '',
            fixedFooter: {
              primaryButton: {
                altText: '',
                color: {alpha: '', blue: '', green: '', red: ''},
                disabled: false,
                icon: {altText: '', iconUrl: '', imageType: '', knownIcon: ''},
                onClick: {},
                text: ''
              },
              secondaryButton: {}
            },
            header: {imageAltText: '', imageType: '', imageUrl: '', subtitle: '', title: ''},
            name: '',
            peekCardHeader: {},
            sections: [
              {
                collapsible: false,
                header: '',
                uncollapsibleWidgetsCount: 0,
                widgets: [
                  {
                    buttonList: {buttons: [{}]},
                    dateTimePicker: {
                      label: '',
                      name: '',
                      onChangeAction: {},
                      timezoneOffsetDate: 0,
                      type: '',
                      valueMsEpoch: ''
                    },
                    decoratedText: {
                      bottomLabel: '',
                      button: {},
                      endIcon: {},
                      icon: {},
                      onClick: {},
                      startIcon: {},
                      switchControl: {controlType: '', name: '', onChangeAction: {}, selected: false, value: ''},
                      text: '',
                      topLabel: '',
                      wrapText: false
                    },
                    divider: {},
                    grid: {
                      borderStyle: {cornerRadius: 0, strokeColor: {}, type: ''},
                      columnCount: 0,
                      items: [
                        {
                          id: '',
                          image: {
                            altText: '',
                            borderStyle: {},
                            cropStyle: {aspectRatio: '', type: ''},
                            imageUri: ''
                          },
                          layout: '',
                          subtitle: '',
                          title: ''
                        }
                      ],
                      onClick: {},
                      title: ''
                    },
                    image: {altText: '', imageUrl: '', onClick: {}},
                    selectionInput: {
                      items: [{selected: false, text: '', value: ''}],
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: ''
                    },
                    textInput: {
                      autoCompleteAction: {},
                      hintText: '',
                      initialSuggestions: {items: [{text: ''}]},
                      label: '',
                      name: '',
                      onChangeAction: {},
                      type: '',
                      value: ''
                    },
                    textParagraph: {text: ''}
                  }
                ]
              }
            ]
          }
        }
      },
      type: '',
      url: ''
    },
    annotations: [
      {
        length: 0,
        slashCommand: {
          bot: {displayName: '', domainId: '', isAnonymous: false, name: '', type: ''},
          commandId: '',
          commandName: '',
          triggersDialog: false,
          type: ''
        },
        startIndex: 0,
        type: '',
        userMention: {type: '', user: {}}
      }
    ],
    argumentText: '',
    attachment: [
      {
        attachmentDataRef: {resourceName: ''},
        contentName: '',
        contentType: '',
        downloadUri: '',
        driveDataRef: {driveFileId: ''},
        name: '',
        source: '',
        thumbnailUri: ''
      }
    ],
    cards: [
      {
        cardActions: [
          {
            actionLabel: '',
            onClick: {
              action: {actionMethodName: '', parameters: [{key: '', value: ''}]},
              openLink: {url: ''}
            }
          }
        ],
        header: {imageStyle: '', imageUrl: '', subtitle: '', title: ''},
        name: '',
        sections: [
          {
            header: '',
            widgets: [
              {
                buttons: [
                  {
                    imageButton: {icon: '', iconUrl: '', name: '', onClick: {}},
                    textButton: {onClick: {}, text: ''}
                  }
                ],
                image: {aspectRatio: '', imageUrl: '', onClick: {}},
                keyValue: {
                  bottomLabel: '',
                  button: {},
                  content: '',
                  contentMultiline: false,
                  icon: '',
                  iconUrl: '',
                  onClick: {},
                  topLabel: ''
                },
                textParagraph: {text: ''}
              }
            ]
          }
        ]
      }
    ],
    cardsV2: [{card: {}, cardId: ''}],
    clientAssignedMessageId: '',
    createTime: '',
    fallbackText: '',
    lastUpdateTime: '',
    matchedUrl: {url: ''},
    name: '',
    sender: {},
    slashCommand: {commandId: ''},
    space: {
      adminInstalled: false,
      displayName: '',
      name: '',
      singleUserBotDm: false,
      spaceDetails: {description: '', guidelines: ''},
      spaceThreadingState: '',
      threaded: false,
      type: ''
    },
    text: '',
    thread: {name: '', threadKey: ''},
    threadReply: false
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/v1/:name';
const options = {
  method: 'PUT',
  headers: {'content-type': 'application/json'},
  body: '{"actionResponse":{"dialogAction":{"actionStatus":{"statusCode":"","userFacingMessage":""},"dialog":{"body":{"cardActions":[{"actionLabel":"","onClick":{"action":{"function":"","interaction":"","loadIndicator":"","parameters":[{"key":"","value":""}],"persistValues":false},"card":"","openDynamicLinkAction":{},"openLink":{"onClose":"","openAs":"","url":""}}}],"displayStyle":"","fixedFooter":{"primaryButton":{"altText":"","color":{"alpha":"","blue":"","green":"","red":""},"disabled":false,"icon":{"altText":"","iconUrl":"","imageType":"","knownIcon":""},"onClick":{},"text":""},"secondaryButton":{}},"header":{"imageAltText":"","imageType":"","imageUrl":"","subtitle":"","title":""},"name":"","peekCardHeader":{},"sections":[{"collapsible":false,"header":"","uncollapsibleWidgetsCount":0,"widgets":[{"buttonList":{"buttons":[{}]},"dateTimePicker":{"label":"","name":"","onChangeAction":{},"timezoneOffsetDate":0,"type":"","valueMsEpoch":""},"decoratedText":{"bottomLabel":"","button":{},"endIcon":{},"icon":{},"onClick":{},"startIcon":{},"switchControl":{"controlType":"","name":"","onChangeAction":{},"selected":false,"value":""},"text":"","topLabel":"","wrapText":false},"divider":{},"grid":{"borderStyle":{"cornerRadius":0,"strokeColor":{},"type":""},"columnCount":0,"items":[{"id":"","image":{"altText":"","borderStyle":{},"cropStyle":{"aspectRatio":"","type":""},"imageUri":""},"layout":"","subtitle":"","title":""}],"onClick":{},"title":""},"image":{"altText":"","imageUrl":"","onClick":{}},"selectionInput":{"items":[{"selected":false,"text":"","value":""}],"label":"","name":"","onChangeAction":{},"type":""},"textInput":{"autoCompleteAction":{},"hintText":"","initialSuggestions":{"items":[{"text":""}]},"label":"","name":"","onChangeAction":{},"type":"","value":""},"textParagraph":{"text":""}}]}]}}},"type":"","url":""},"annotations":[{"length":0,"slashCommand":{"bot":{"displayName":"","domainId":"","isAnonymous":false,"name":"","type":""},"commandId":"","commandName":"","triggersDialog":false,"type":""},"startIndex":0,"type":"","userMention":{"type":"","user":{}}}],"argumentText":"","attachment":[{"attachmentDataRef":{"resourceName":""},"contentName":"","contentType":"","downloadUri":"","driveDataRef":{"driveFileId":""},"name":"","source":"","thumbnailUri":""}],"cards":[{"cardActions":[{"actionLabel":"","onClick":{"action":{"actionMethodName":"","parameters":[{"key":"","value":""}]},"openLink":{"url":""}}}],"header":{"imageStyle":"","imageUrl":"","subtitle":"","title":""},"name":"","sections":[{"header":"","widgets":[{"buttons":[{"imageButton":{"icon":"","iconUrl":"","name":"","onClick":{}},"textButton":{"onClick":{},"text":""}}],"image":{"aspectRatio":"","imageUrl":"","onClick":{}},"keyValue":{"bottomLabel":"","button":{},"content":"","contentMultiline":false,"icon":"","iconUrl":"","onClick":{},"topLabel":""},"textParagraph":{"text":""}}]}]}],"cardsV2":[{"card":{},"cardId":""}],"clientAssignedMessageId":"","createTime":"","fallbackText":"","lastUpdateTime":"","matchedUrl":{"url":""},"name":"","sender":{},"slashCommand":{"commandId":""},"space":{"adminInstalled":false,"displayName":"","name":"","singleUserBotDm":false,"spaceDetails":{"description":"","guidelines":""},"spaceThreadingState":"","threaded":false,"type":""},"text":"","thread":{"name":"","threadKey":""},"threadReply":false}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"actionResponse": @{ @"dialogAction": @{ @"actionStatus": @{ @"statusCode": @"", @"userFacingMessage": @"" }, @"dialog": @{ @"body": @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"function": @"", @"interaction": @"", @"loadIndicator": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ], @"persistValues": @NO }, @"card": @"", @"openDynamicLinkAction": @{  }, @"openLink": @{ @"onClose": @"", @"openAs": @"", @"url": @"" } } } ], @"displayStyle": @"", @"fixedFooter": @{ @"primaryButton": @{ @"altText": @"", @"color": @{ @"alpha": @"", @"blue": @"", @"green": @"", @"red": @"" }, @"disabled": @NO, @"icon": @{ @"altText": @"", @"iconUrl": @"", @"imageType": @"", @"knownIcon": @"" }, @"onClick": @{  }, @"text": @"" }, @"secondaryButton": @{  } }, @"header": @{ @"imageAltText": @"", @"imageType": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"peekCardHeader": @{  }, @"sections": @[ @{ @"collapsible": @NO, @"header": @"", @"uncollapsibleWidgetsCount": @0, @"widgets": @[ @{ @"buttonList": @{ @"buttons": @[ @{  } ] }, @"dateTimePicker": @{ @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"timezoneOffsetDate": @0, @"type": @"", @"valueMsEpoch": @"" }, @"decoratedText": @{ @"bottomLabel": @"", @"button": @{  }, @"endIcon": @{  }, @"icon": @{  }, @"onClick": @{  }, @"startIcon": @{  }, @"switchControl": @{ @"controlType": @"", @"name": @"", @"onChangeAction": @{  }, @"selected": @NO, @"value": @"" }, @"text": @"", @"topLabel": @"", @"wrapText": @NO }, @"divider": @{  }, @"grid": @{ @"borderStyle": @{ @"cornerRadius": @0, @"strokeColor": @{  }, @"type": @"" }, @"columnCount": @0, @"items": @[ @{ @"id": @"", @"image": @{ @"altText": @"", @"borderStyle": @{  }, @"cropStyle": @{ @"aspectRatio": @"", @"type": @"" }, @"imageUri": @"" }, @"layout": @"", @"subtitle": @"", @"title": @"" } ], @"onClick": @{  }, @"title": @"" }, @"image": @{ @"altText": @"", @"imageUrl": @"", @"onClick": @{  } }, @"selectionInput": @{ @"items": @[ @{ @"selected": @NO, @"text": @"", @"value": @"" } ], @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"" }, @"textInput": @{ @"autoCompleteAction": @{  }, @"hintText": @"", @"initialSuggestions": @{ @"items": @[ @{ @"text": @"" } ] }, @"label": @"", @"name": @"", @"onChangeAction": @{  }, @"type": @"", @"value": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } } }, @"type": @"", @"url": @"" },
                              @"annotations": @[ @{ @"length": @0, @"slashCommand": @{ @"bot": @{ @"displayName": @"", @"domainId": @"", @"isAnonymous": @NO, @"name": @"", @"type": @"" }, @"commandId": @"", @"commandName": @"", @"triggersDialog": @NO, @"type": @"" }, @"startIndex": @0, @"type": @"", @"userMention": @{ @"type": @"", @"user": @{  } } } ],
                              @"argumentText": @"",
                              @"attachment": @[ @{ @"attachmentDataRef": @{ @"resourceName": @"" }, @"contentName": @"", @"contentType": @"", @"downloadUri": @"", @"driveDataRef": @{ @"driveFileId": @"" }, @"name": @"", @"source": @"", @"thumbnailUri": @"" } ],
                              @"cards": @[ @{ @"cardActions": @[ @{ @"actionLabel": @"", @"onClick": @{ @"action": @{ @"actionMethodName": @"", @"parameters": @[ @{ @"key": @"", @"value": @"" } ] }, @"openLink": @{ @"url": @"" } } } ], @"header": @{ @"imageStyle": @"", @"imageUrl": @"", @"subtitle": @"", @"title": @"" }, @"name": @"", @"sections": @[ @{ @"header": @"", @"widgets": @[ @{ @"buttons": @[ @{ @"imageButton": @{ @"icon": @"", @"iconUrl": @"", @"name": @"", @"onClick": @{  } }, @"textButton": @{ @"onClick": @{  }, @"text": @"" } } ], @"image": @{ @"aspectRatio": @"", @"imageUrl": @"", @"onClick": @{  } }, @"keyValue": @{ @"bottomLabel": @"", @"button": @{  }, @"content": @"", @"contentMultiline": @NO, @"icon": @"", @"iconUrl": @"", @"onClick": @{  }, @"topLabel": @"" }, @"textParagraph": @{ @"text": @"" } } ] } ] } ],
                              @"cardsV2": @[ @{ @"card": @{  }, @"cardId": @"" } ],
                              @"clientAssignedMessageId": @"",
                              @"createTime": @"",
                              @"fallbackText": @"",
                              @"lastUpdateTime": @"",
                              @"matchedUrl": @{ @"url": @"" },
                              @"name": @"",
                              @"sender": @{  },
                              @"slashCommand": @{ @"commandId": @"" },
                              @"space": @{ @"adminInstalled": @NO, @"displayName": @"", @"name": @"", @"singleUserBotDm": @NO, @"spaceDetails": @{ @"description": @"", @"guidelines": @"" }, @"spaceThreadingState": @"", @"threaded": @NO, @"type": @"" },
                              @"text": @"",
                              @"thread": @{ @"name": @"", @"threadKey": @"" },
                              @"threadReply": @NO };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/v1/:name"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PUT"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/v1/:name" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}" in

Client.call ~headers ~body `PUT uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/v1/:name",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PUT",
  CURLOPT_POSTFIELDS => json_encode([
    'actionResponse' => [
        'dialogAction' => [
                'actionStatus' => [
                                'statusCode' => '',
                                'userFacingMessage' => ''
                ],
                'dialog' => [
                                'body' => [
                                                                'cardActions' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'actionLabel' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'displayStyle' => '',
                                                                'fixedFooter' => [
                                                                                                                                'primaryButton' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'disabled' => null,
                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ],
                                                                                                                                'secondaryButton' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ]
                                                                ],
                                                                'header' => [
                                                                                                                                'imageAltText' => '',
                                                                                                                                'imageType' => '',
                                                                                                                                'imageUrl' => '',
                                                                                                                                'subtitle' => '',
                                                                                                                                'title' => ''
                                                                ],
                                                                'name' => '',
                                                                'peekCardHeader' => [
                                                                                                                                
                                                                ],
                                                                'sections' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'collapsible' => null,
                                                                                                                                                                                                                                                                'header' => '',
                                                                                                                                                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ],
        'type' => '',
        'url' => ''
    ],
    'annotations' => [
        [
                'length' => 0,
                'slashCommand' => [
                                'bot' => [
                                                                'displayName' => '',
                                                                'domainId' => '',
                                                                'isAnonymous' => null,
                                                                'name' => '',
                                                                'type' => ''
                                ],
                                'commandId' => '',
                                'commandName' => '',
                                'triggersDialog' => null,
                                'type' => ''
                ],
                'startIndex' => 0,
                'type' => '',
                'userMention' => [
                                'type' => '',
                                'user' => [
                                                                
                                ]
                ]
        ]
    ],
    'argumentText' => '',
    'attachment' => [
        [
                'attachmentDataRef' => [
                                'resourceName' => ''
                ],
                'contentName' => '',
                'contentType' => '',
                'downloadUri' => '',
                'driveDataRef' => [
                                'driveFileId' => ''
                ],
                'name' => '',
                'source' => '',
                'thumbnailUri' => ''
        ]
    ],
    'cards' => [
        [
                'cardActions' => [
                                [
                                                                'actionLabel' => '',
                                                                'onClick' => [
                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                'actionMethodName' => '',
                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ],
                'header' => [
                                'imageStyle' => '',
                                'imageUrl' => '',
                                'subtitle' => '',
                                'title' => ''
                ],
                'name' => '',
                'sections' => [
                                [
                                                                'header' => '',
                                                                'widgets' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'cardsV2' => [
        [
                'card' => [
                                
                ],
                'cardId' => ''
        ]
    ],
    'clientAssignedMessageId' => '',
    'createTime' => '',
    'fallbackText' => '',
    'lastUpdateTime' => '',
    'matchedUrl' => [
        'url' => ''
    ],
    'name' => '',
    'sender' => [
        
    ],
    'slashCommand' => [
        'commandId' => ''
    ],
    'space' => [
        'adminInstalled' => null,
        'displayName' => '',
        'name' => '',
        'singleUserBotDm' => null,
        'spaceDetails' => [
                'description' => '',
                'guidelines' => ''
        ],
        'spaceThreadingState' => '',
        'threaded' => null,
        'type' => ''
    ],
    'text' => '',
    'thread' => [
        'name' => '',
        'threadKey' => ''
    ],
    'threadReply' => null
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PUT', '{{baseUrl}}/v1/:name', [
  'body' => '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/v1/:name');
$request->setMethod(HTTP_METH_PUT);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'actionResponse' => [
    'dialogAction' => [
        'actionStatus' => [
                'statusCode' => '',
                'userFacingMessage' => ''
        ],
        'dialog' => [
                'body' => [
                                'cardActions' => [
                                                                [
                                                                                                                                'actionLabel' => '',
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                'action' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'function' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'interaction' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'loadIndicator' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'persistValues' => null
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'card' => '',
                                                                                                                                                                                                                                                                'openDynamicLinkAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'openLink' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClose' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'openAs' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'url' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'displayStyle' => '',
                                'fixedFooter' => [
                                                                'primaryButton' => [
                                                                                                                                'altText' => '',
                                                                                                                                'color' => [
                                                                                                                                                                                                                                                                'alpha' => '',
                                                                                                                                                                                                                                                                'blue' => '',
                                                                                                                                                                                                                                                                'green' => '',
                                                                                                                                                                                                                                                                'red' => ''
                                                                                                                                ],
                                                                                                                                'disabled' => null,
                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'imageType' => '',
                                                                                                                                                                                                                                                                'knownIcon' => ''
                                                                                                                                ],
                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'text' => ''
                                                                ],
                                                                'secondaryButton' => [
                                                                                                                                
                                                                ]
                                ],
                                'header' => [
                                                                'imageAltText' => '',
                                                                'imageType' => '',
                                                                'imageUrl' => '',
                                                                'subtitle' => '',
                                                                'title' => ''
                                ],
                                'name' => '',
                                'peekCardHeader' => [
                                                                
                                ],
                                'sections' => [
                                                                [
                                                                                                                                'collapsible' => null,
                                                                                                                                'header' => '',
                                                                                                                                'uncollapsibleWidgetsCount' => 0,
                                                                                                                                'widgets' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttonList' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimePicker' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timezoneOffsetDate' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'valueMsEpoch' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decoratedText' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'endIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'startIcon' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'switchControl' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'controlType' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'topLabel' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'wrapText' => null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'divider' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'grid' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cornerRadius' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'strokeColor' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'columnCount' => 0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'borderStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'cropStyle' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUri' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'layout' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'subtitle' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'title' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'altText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selectionInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'selected' => null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textInput' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'autoCompleteAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'hintText' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'initialSuggestions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'items' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onChangeAction' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ],
    'type' => '',
    'url' => ''
  ],
  'annotations' => [
    [
        'length' => 0,
        'slashCommand' => [
                'bot' => [
                                'displayName' => '',
                                'domainId' => '',
                                'isAnonymous' => null,
                                'name' => '',
                                'type' => ''
                ],
                'commandId' => '',
                'commandName' => '',
                'triggersDialog' => null,
                'type' => ''
        ],
        'startIndex' => 0,
        'type' => '',
        'userMention' => [
                'type' => '',
                'user' => [
                                
                ]
        ]
    ]
  ],
  'argumentText' => '',
  'attachment' => [
    [
        'attachmentDataRef' => [
                'resourceName' => ''
        ],
        'contentName' => '',
        'contentType' => '',
        'downloadUri' => '',
        'driveDataRef' => [
                'driveFileId' => ''
        ],
        'name' => '',
        'source' => '',
        'thumbnailUri' => ''
    ]
  ],
  'cards' => [
    [
        'cardActions' => [
                [
                                'actionLabel' => '',
                                'onClick' => [
                                                                'action' => [
                                                                                                                                'actionMethodName' => '',
                                                                                                                                'parameters' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'key' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => ''
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'openLink' => [
                                                                                                                                'url' => ''
                                                                ]
                                ]
                ]
        ],
        'header' => [
                'imageStyle' => '',
                'imageUrl' => '',
                'subtitle' => '',
                'title' => ''
        ],
        'name' => '',
        'sections' => [
                [
                                'header' => '',
                                'widgets' => [
                                                                [
                                                                                                                                'buttons' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'imageButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'textButton' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'image' => [
                                                                                                                                                                                                                                                                'aspectRatio' => '',
                                                                                                                                                                                                                                                                'imageUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'keyValue' => [
                                                                                                                                                                                                                                                                'bottomLabel' => '',
                                                                                                                                                                                                                                                                'button' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'content' => '',
                                                                                                                                                                                                                                                                'contentMultiline' => null,
                                                                                                                                                                                                                                                                'icon' => '',
                                                                                                                                                                                                                                                                'iconUrl' => '',
                                                                                                                                                                                                                                                                'onClick' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'topLabel' => ''
                                                                                                                                ],
                                                                                                                                'textParagraph' => [
                                                                                                                                                                                                                                                                'text' => ''
                                                                                                                                ]
                                                                ]
                                ]
                ]
        ]
    ]
  ],
  'cardsV2' => [
    [
        'card' => [
                
        ],
        'cardId' => ''
    ]
  ],
  'clientAssignedMessageId' => '',
  'createTime' => '',
  'fallbackText' => '',
  'lastUpdateTime' => '',
  'matchedUrl' => [
    'url' => ''
  ],
  'name' => '',
  'sender' => [
    
  ],
  'slashCommand' => [
    'commandId' => ''
  ],
  'space' => [
    'adminInstalled' => null,
    'displayName' => '',
    'name' => '',
    'singleUserBotDm' => null,
    'spaceDetails' => [
        'description' => '',
        'guidelines' => ''
    ],
    'spaceThreadingState' => '',
    'threaded' => null,
    'type' => ''
  ],
  'text' => '',
  'thread' => [
    'name' => '',
    'threadKey' => ''
  ],
  'threadReply' => null
]));
$request->setRequestUrl('{{baseUrl}}/v1/:name');
$request->setRequestMethod('PUT');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/v1/:name' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/v1/:name' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

headers = { 'content-type': "application/json" }

conn.request("PUT", "/baseUrl/v1/:name", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/v1/:name"

payload = {
    "actionResponse": {
        "dialogAction": {
            "actionStatus": {
                "statusCode": "",
                "userFacingMessage": ""
            },
            "dialog": { "body": {
                    "cardActions": [
                        {
                            "actionLabel": "",
                            "onClick": {
                                "action": {
                                    "function": "",
                                    "interaction": "",
                                    "loadIndicator": "",
                                    "parameters": [
                                        {
                                            "key": "",
                                            "value": ""
                                        }
                                    ],
                                    "persistValues": False
                                },
                                "card": "",
                                "openDynamicLinkAction": {},
                                "openLink": {
                                    "onClose": "",
                                    "openAs": "",
                                    "url": ""
                                }
                            }
                        }
                    ],
                    "displayStyle": "",
                    "fixedFooter": {
                        "primaryButton": {
                            "altText": "",
                            "color": {
                                "alpha": "",
                                "blue": "",
                                "green": "",
                                "red": ""
                            },
                            "disabled": False,
                            "icon": {
                                "altText": "",
                                "iconUrl": "",
                                "imageType": "",
                                "knownIcon": ""
                            },
                            "onClick": {},
                            "text": ""
                        },
                        "secondaryButton": {}
                    },
                    "header": {
                        "imageAltText": "",
                        "imageType": "",
                        "imageUrl": "",
                        "subtitle": "",
                        "title": ""
                    },
                    "name": "",
                    "peekCardHeader": {},
                    "sections": [
                        {
                            "collapsible": False,
                            "header": "",
                            "uncollapsibleWidgetsCount": 0,
                            "widgets": [
                                {
                                    "buttonList": { "buttons": [{}] },
                                    "dateTimePicker": {
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "timezoneOffsetDate": 0,
                                        "type": "",
                                        "valueMsEpoch": ""
                                    },
                                    "decoratedText": {
                                        "bottomLabel": "",
                                        "button": {},
                                        "endIcon": {},
                                        "icon": {},
                                        "onClick": {},
                                        "startIcon": {},
                                        "switchControl": {
                                            "controlType": "",
                                            "name": "",
                                            "onChangeAction": {},
                                            "selected": False,
                                            "value": ""
                                        },
                                        "text": "",
                                        "topLabel": "",
                                        "wrapText": False
                                    },
                                    "divider": {},
                                    "grid": {
                                        "borderStyle": {
                                            "cornerRadius": 0,
                                            "strokeColor": {},
                                            "type": ""
                                        },
                                        "columnCount": 0,
                                        "items": [
                                            {
                                                "id": "",
                                                "image": {
                                                    "altText": "",
                                                    "borderStyle": {},
                                                    "cropStyle": {
                                                        "aspectRatio": "",
                                                        "type": ""
                                                    },
                                                    "imageUri": ""
                                                },
                                                "layout": "",
                                                "subtitle": "",
                                                "title": ""
                                            }
                                        ],
                                        "onClick": {},
                                        "title": ""
                                    },
                                    "image": {
                                        "altText": "",
                                        "imageUrl": "",
                                        "onClick": {}
                                    },
                                    "selectionInput": {
                                        "items": [
                                            {
                                                "selected": False,
                                                "text": "",
                                                "value": ""
                                            }
                                        ],
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": ""
                                    },
                                    "textInput": {
                                        "autoCompleteAction": {},
                                        "hintText": "",
                                        "initialSuggestions": { "items": [{ "text": "" }] },
                                        "label": "",
                                        "name": "",
                                        "onChangeAction": {},
                                        "type": "",
                                        "value": ""
                                    },
                                    "textParagraph": { "text": "" }
                                }
                            ]
                        }
                    ]
                } }
        },
        "type": "",
        "url": ""
    },
    "annotations": [
        {
            "length": 0,
            "slashCommand": {
                "bot": {
                    "displayName": "",
                    "domainId": "",
                    "isAnonymous": False,
                    "name": "",
                    "type": ""
                },
                "commandId": "",
                "commandName": "",
                "triggersDialog": False,
                "type": ""
            },
            "startIndex": 0,
            "type": "",
            "userMention": {
                "type": "",
                "user": {}
            }
        }
    ],
    "argumentText": "",
    "attachment": [
        {
            "attachmentDataRef": { "resourceName": "" },
            "contentName": "",
            "contentType": "",
            "downloadUri": "",
            "driveDataRef": { "driveFileId": "" },
            "name": "",
            "source": "",
            "thumbnailUri": ""
        }
    ],
    "cards": [
        {
            "cardActions": [
                {
                    "actionLabel": "",
                    "onClick": {
                        "action": {
                            "actionMethodName": "",
                            "parameters": [
                                {
                                    "key": "",
                                    "value": ""
                                }
                            ]
                        },
                        "openLink": { "url": "" }
                    }
                }
            ],
            "header": {
                "imageStyle": "",
                "imageUrl": "",
                "subtitle": "",
                "title": ""
            },
            "name": "",
            "sections": [
                {
                    "header": "",
                    "widgets": [
                        {
                            "buttons": [
                                {
                                    "imageButton": {
                                        "icon": "",
                                        "iconUrl": "",
                                        "name": "",
                                        "onClick": {}
                                    },
                                    "textButton": {
                                        "onClick": {},
                                        "text": ""
                                    }
                                }
                            ],
                            "image": {
                                "aspectRatio": "",
                                "imageUrl": "",
                                "onClick": {}
                            },
                            "keyValue": {
                                "bottomLabel": "",
                                "button": {},
                                "content": "",
                                "contentMultiline": False,
                                "icon": "",
                                "iconUrl": "",
                                "onClick": {},
                                "topLabel": ""
                            },
                            "textParagraph": { "text": "" }
                        }
                    ]
                }
            ]
        }
    ],
    "cardsV2": [
        {
            "card": {},
            "cardId": ""
        }
    ],
    "clientAssignedMessageId": "",
    "createTime": "",
    "fallbackText": "",
    "lastUpdateTime": "",
    "matchedUrl": { "url": "" },
    "name": "",
    "sender": {},
    "slashCommand": { "commandId": "" },
    "space": {
        "adminInstalled": False,
        "displayName": "",
        "name": "",
        "singleUserBotDm": False,
        "spaceDetails": {
            "description": "",
            "guidelines": ""
        },
        "spaceThreadingState": "",
        "threaded": False,
        "type": ""
    },
    "text": "",
    "thread": {
        "name": "",
        "threadKey": ""
    },
    "threadReply": False
}
headers = {"content-type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/v1/:name"

payload <- "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

encode <- "json"

response <- VERB("PUT", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/v1/:name")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.put('/baseUrl/v1/:name') do |req|
  req.body = "{\n  \"actionResponse\": {\n    \"dialogAction\": {\n      \"actionStatus\": {\n        \"statusCode\": \"\",\n        \"userFacingMessage\": \"\"\n      },\n      \"dialog\": {\n        \"body\": {\n          \"cardActions\": [\n            {\n              \"actionLabel\": \"\",\n              \"onClick\": {\n                \"action\": {\n                  \"function\": \"\",\n                  \"interaction\": \"\",\n                  \"loadIndicator\": \"\",\n                  \"parameters\": [\n                    {\n                      \"key\": \"\",\n                      \"value\": \"\"\n                    }\n                  ],\n                  \"persistValues\": false\n                },\n                \"card\": \"\",\n                \"openDynamicLinkAction\": {},\n                \"openLink\": {\n                  \"onClose\": \"\",\n                  \"openAs\": \"\",\n                  \"url\": \"\"\n                }\n              }\n            }\n          ],\n          \"displayStyle\": \"\",\n          \"fixedFooter\": {\n            \"primaryButton\": {\n              \"altText\": \"\",\n              \"color\": {\n                \"alpha\": \"\",\n                \"blue\": \"\",\n                \"green\": \"\",\n                \"red\": \"\"\n              },\n              \"disabled\": false,\n              \"icon\": {\n                \"altText\": \"\",\n                \"iconUrl\": \"\",\n                \"imageType\": \"\",\n                \"knownIcon\": \"\"\n              },\n              \"onClick\": {},\n              \"text\": \"\"\n            },\n            \"secondaryButton\": {}\n          },\n          \"header\": {\n            \"imageAltText\": \"\",\n            \"imageType\": \"\",\n            \"imageUrl\": \"\",\n            \"subtitle\": \"\",\n            \"title\": \"\"\n          },\n          \"name\": \"\",\n          \"peekCardHeader\": {},\n          \"sections\": [\n            {\n              \"collapsible\": false,\n              \"header\": \"\",\n              \"uncollapsibleWidgetsCount\": 0,\n              \"widgets\": [\n                {\n                  \"buttonList\": {\n                    \"buttons\": [\n                      {}\n                    ]\n                  },\n                  \"dateTimePicker\": {\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"timezoneOffsetDate\": 0,\n                    \"type\": \"\",\n                    \"valueMsEpoch\": \"\"\n                  },\n                  \"decoratedText\": {\n                    \"bottomLabel\": \"\",\n                    \"button\": {},\n                    \"endIcon\": {},\n                    \"icon\": {},\n                    \"onClick\": {},\n                    \"startIcon\": {},\n                    \"switchControl\": {\n                      \"controlType\": \"\",\n                      \"name\": \"\",\n                      \"onChangeAction\": {},\n                      \"selected\": false,\n                      \"value\": \"\"\n                    },\n                    \"text\": \"\",\n                    \"topLabel\": \"\",\n                    \"wrapText\": false\n                  },\n                  \"divider\": {},\n                  \"grid\": {\n                    \"borderStyle\": {\n                      \"cornerRadius\": 0,\n                      \"strokeColor\": {},\n                      \"type\": \"\"\n                    },\n                    \"columnCount\": 0,\n                    \"items\": [\n                      {\n                        \"id\": \"\",\n                        \"image\": {\n                          \"altText\": \"\",\n                          \"borderStyle\": {},\n                          \"cropStyle\": {\n                            \"aspectRatio\": \"\",\n                            \"type\": \"\"\n                          },\n                          \"imageUri\": \"\"\n                        },\n                        \"layout\": \"\",\n                        \"subtitle\": \"\",\n                        \"title\": \"\"\n                      }\n                    ],\n                    \"onClick\": {},\n                    \"title\": \"\"\n                  },\n                  \"image\": {\n                    \"altText\": \"\",\n                    \"imageUrl\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"selectionInput\": {\n                    \"items\": [\n                      {\n                        \"selected\": false,\n                        \"text\": \"\",\n                        \"value\": \"\"\n                      }\n                    ],\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\"\n                  },\n                  \"textInput\": {\n                    \"autoCompleteAction\": {},\n                    \"hintText\": \"\",\n                    \"initialSuggestions\": {\n                      \"items\": [\n                        {\n                          \"text\": \"\"\n                        }\n                      ]\n                    },\n                    \"label\": \"\",\n                    \"name\": \"\",\n                    \"onChangeAction\": {},\n                    \"type\": \"\",\n                    \"value\": \"\"\n                  },\n                  \"textParagraph\": {\n                    \"text\": \"\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    \"type\": \"\",\n    \"url\": \"\"\n  },\n  \"annotations\": [\n    {\n      \"length\": 0,\n      \"slashCommand\": {\n        \"bot\": {\n          \"displayName\": \"\",\n          \"domainId\": \"\",\n          \"isAnonymous\": false,\n          \"name\": \"\",\n          \"type\": \"\"\n        },\n        \"commandId\": \"\",\n        \"commandName\": \"\",\n        \"triggersDialog\": false,\n        \"type\": \"\"\n      },\n      \"startIndex\": 0,\n      \"type\": \"\",\n      \"userMention\": {\n        \"type\": \"\",\n        \"user\": {}\n      }\n    }\n  ],\n  \"argumentText\": \"\",\n  \"attachment\": [\n    {\n      \"attachmentDataRef\": {\n        \"resourceName\": \"\"\n      },\n      \"contentName\": \"\",\n      \"contentType\": \"\",\n      \"downloadUri\": \"\",\n      \"driveDataRef\": {\n        \"driveFileId\": \"\"\n      },\n      \"name\": \"\",\n      \"source\": \"\",\n      \"thumbnailUri\": \"\"\n    }\n  ],\n  \"cards\": [\n    {\n      \"cardActions\": [\n        {\n          \"actionLabel\": \"\",\n          \"onClick\": {\n            \"action\": {\n              \"actionMethodName\": \"\",\n              \"parameters\": [\n                {\n                  \"key\": \"\",\n                  \"value\": \"\"\n                }\n              ]\n            },\n            \"openLink\": {\n              \"url\": \"\"\n            }\n          }\n        }\n      ],\n      \"header\": {\n        \"imageStyle\": \"\",\n        \"imageUrl\": \"\",\n        \"subtitle\": \"\",\n        \"title\": \"\"\n      },\n      \"name\": \"\",\n      \"sections\": [\n        {\n          \"header\": \"\",\n          \"widgets\": [\n            {\n              \"buttons\": [\n                {\n                  \"imageButton\": {\n                    \"icon\": \"\",\n                    \"iconUrl\": \"\",\n                    \"name\": \"\",\n                    \"onClick\": {}\n                  },\n                  \"textButton\": {\n                    \"onClick\": {},\n                    \"text\": \"\"\n                  }\n                }\n              ],\n              \"image\": {\n                \"aspectRatio\": \"\",\n                \"imageUrl\": \"\",\n                \"onClick\": {}\n              },\n              \"keyValue\": {\n                \"bottomLabel\": \"\",\n                \"button\": {},\n                \"content\": \"\",\n                \"contentMultiline\": false,\n                \"icon\": \"\",\n                \"iconUrl\": \"\",\n                \"onClick\": {},\n                \"topLabel\": \"\"\n              },\n              \"textParagraph\": {\n                \"text\": \"\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"cardsV2\": [\n    {\n      \"card\": {},\n      \"cardId\": \"\"\n    }\n  ],\n  \"clientAssignedMessageId\": \"\",\n  \"createTime\": \"\",\n  \"fallbackText\": \"\",\n  \"lastUpdateTime\": \"\",\n  \"matchedUrl\": {\n    \"url\": \"\"\n  },\n  \"name\": \"\",\n  \"sender\": {},\n  \"slashCommand\": {\n    \"commandId\": \"\"\n  },\n  \"space\": {\n    \"adminInstalled\": false,\n    \"displayName\": \"\",\n    \"name\": \"\",\n    \"singleUserBotDm\": false,\n    \"spaceDetails\": {\n      \"description\": \"\",\n      \"guidelines\": \"\"\n    },\n    \"spaceThreadingState\": \"\",\n    \"threaded\": false,\n    \"type\": \"\"\n  },\n  \"text\": \"\",\n  \"thread\": {\n    \"name\": \"\",\n    \"threadKey\": \"\"\n  },\n  \"threadReply\": false\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/v1/:name";

    let payload = json!({
        "actionResponse": json!({
            "dialogAction": json!({
                "actionStatus": json!({
                    "statusCode": "",
                    "userFacingMessage": ""
                }),
                "dialog": json!({"body": json!({
                        "cardActions": (
                            json!({
                                "actionLabel": "",
                                "onClick": json!({
                                    "action": json!({
                                        "function": "",
                                        "interaction": "",
                                        "loadIndicator": "",
                                        "parameters": (
                                            json!({
                                                "key": "",
                                                "value": ""
                                            })
                                        ),
                                        "persistValues": false
                                    }),
                                    "card": "",
                                    "openDynamicLinkAction": json!({}),
                                    "openLink": json!({
                                        "onClose": "",
                                        "openAs": "",
                                        "url": ""
                                    })
                                })
                            })
                        ),
                        "displayStyle": "",
                        "fixedFooter": json!({
                            "primaryButton": json!({
                                "altText": "",
                                "color": json!({
                                    "alpha": "",
                                    "blue": "",
                                    "green": "",
                                    "red": ""
                                }),
                                "disabled": false,
                                "icon": json!({
                                    "altText": "",
                                    "iconUrl": "",
                                    "imageType": "",
                                    "knownIcon": ""
                                }),
                                "onClick": json!({}),
                                "text": ""
                            }),
                            "secondaryButton": json!({})
                        }),
                        "header": json!({
                            "imageAltText": "",
                            "imageType": "",
                            "imageUrl": "",
                            "subtitle": "",
                            "title": ""
                        }),
                        "name": "",
                        "peekCardHeader": json!({}),
                        "sections": (
                            json!({
                                "collapsible": false,
                                "header": "",
                                "uncollapsibleWidgetsCount": 0,
                                "widgets": (
                                    json!({
                                        "buttonList": json!({"buttons": (json!({}))}),
                                        "dateTimePicker": json!({
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "timezoneOffsetDate": 0,
                                            "type": "",
                                            "valueMsEpoch": ""
                                        }),
                                        "decoratedText": json!({
                                            "bottomLabel": "",
                                            "button": json!({}),
                                            "endIcon": json!({}),
                                            "icon": json!({}),
                                            "onClick": json!({}),
                                            "startIcon": json!({}),
                                            "switchControl": json!({
                                                "controlType": "",
                                                "name": "",
                                                "onChangeAction": json!({}),
                                                "selected": false,
                                                "value": ""
                                            }),
                                            "text": "",
                                            "topLabel": "",
                                            "wrapText": false
                                        }),
                                        "divider": json!({}),
                                        "grid": json!({
                                            "borderStyle": json!({
                                                "cornerRadius": 0,
                                                "strokeColor": json!({}),
                                                "type": ""
                                            }),
                                            "columnCount": 0,
                                            "items": (
                                                json!({
                                                    "id": "",
                                                    "image": json!({
                                                        "altText": "",
                                                        "borderStyle": json!({}),
                                                        "cropStyle": json!({
                                                            "aspectRatio": "",
                                                            "type": ""
                                                        }),
                                                        "imageUri": ""
                                                    }),
                                                    "layout": "",
                                                    "subtitle": "",
                                                    "title": ""
                                                })
                                            ),
                                            "onClick": json!({}),
                                            "title": ""
                                        }),
                                        "image": json!({
                                            "altText": "",
                                            "imageUrl": "",
                                            "onClick": json!({})
                                        }),
                                        "selectionInput": json!({
                                            "items": (
                                                json!({
                                                    "selected": false,
                                                    "text": "",
                                                    "value": ""
                                                })
                                            ),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": ""
                                        }),
                                        "textInput": json!({
                                            "autoCompleteAction": json!({}),
                                            "hintText": "",
                                            "initialSuggestions": json!({"items": (json!({"text": ""}))}),
                                            "label": "",
                                            "name": "",
                                            "onChangeAction": json!({}),
                                            "type": "",
                                            "value": ""
                                        }),
                                        "textParagraph": json!({"text": ""})
                                    })
                                )
                            })
                        )
                    })})
            }),
            "type": "",
            "url": ""
        }),
        "annotations": (
            json!({
                "length": 0,
                "slashCommand": json!({
                    "bot": json!({
                        "displayName": "",
                        "domainId": "",
                        "isAnonymous": false,
                        "name": "",
                        "type": ""
                    }),
                    "commandId": "",
                    "commandName": "",
                    "triggersDialog": false,
                    "type": ""
                }),
                "startIndex": 0,
                "type": "",
                "userMention": json!({
                    "type": "",
                    "user": json!({})
                })
            })
        ),
        "argumentText": "",
        "attachment": (
            json!({
                "attachmentDataRef": json!({"resourceName": ""}),
                "contentName": "",
                "contentType": "",
                "downloadUri": "",
                "driveDataRef": json!({"driveFileId": ""}),
                "name": "",
                "source": "",
                "thumbnailUri": ""
            })
        ),
        "cards": (
            json!({
                "cardActions": (
                    json!({
                        "actionLabel": "",
                        "onClick": json!({
                            "action": json!({
                                "actionMethodName": "",
                                "parameters": (
                                    json!({
                                        "key": "",
                                        "value": ""
                                    })
                                )
                            }),
                            "openLink": json!({"url": ""})
                        })
                    })
                ),
                "header": json!({
                    "imageStyle": "",
                    "imageUrl": "",
                    "subtitle": "",
                    "title": ""
                }),
                "name": "",
                "sections": (
                    json!({
                        "header": "",
                        "widgets": (
                            json!({
                                "buttons": (
                                    json!({
                                        "imageButton": json!({
                                            "icon": "",
                                            "iconUrl": "",
                                            "name": "",
                                            "onClick": json!({})
                                        }),
                                        "textButton": json!({
                                            "onClick": json!({}),
                                            "text": ""
                                        })
                                    })
                                ),
                                "image": json!({
                                    "aspectRatio": "",
                                    "imageUrl": "",
                                    "onClick": json!({})
                                }),
                                "keyValue": json!({
                                    "bottomLabel": "",
                                    "button": json!({}),
                                    "content": "",
                                    "contentMultiline": false,
                                    "icon": "",
                                    "iconUrl": "",
                                    "onClick": json!({}),
                                    "topLabel": ""
                                }),
                                "textParagraph": json!({"text": ""})
                            })
                        )
                    })
                )
            })
        ),
        "cardsV2": (
            json!({
                "card": json!({}),
                "cardId": ""
            })
        ),
        "clientAssignedMessageId": "",
        "createTime": "",
        "fallbackText": "",
        "lastUpdateTime": "",
        "matchedUrl": json!({"url": ""}),
        "name": "",
        "sender": json!({}),
        "slashCommand": json!({"commandId": ""}),
        "space": json!({
            "adminInstalled": false,
            "displayName": "",
            "name": "",
            "singleUserBotDm": false,
            "spaceDetails": json!({
                "description": "",
                "guidelines": ""
            }),
            "spaceThreadingState": "",
            "threaded": false,
            "type": ""
        }),
        "text": "",
        "thread": json!({
            "name": "",
            "threadKey": ""
        }),
        "threadReply": false
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PUT").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PUT \
  --url {{baseUrl}}/v1/:name \
  --header 'content-type: application/json' \
  --data '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}'
echo '{
  "actionResponse": {
    "dialogAction": {
      "actionStatus": {
        "statusCode": "",
        "userFacingMessage": ""
      },
      "dialog": {
        "body": {
          "cardActions": [
            {
              "actionLabel": "",
              "onClick": {
                "action": {
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    {
                      "key": "",
                      "value": ""
                    }
                  ],
                  "persistValues": false
                },
                "card": "",
                "openDynamicLinkAction": {},
                "openLink": {
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                }
              }
            }
          ],
          "displayStyle": "",
          "fixedFooter": {
            "primaryButton": {
              "altText": "",
              "color": {
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              },
              "disabled": false,
              "icon": {
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              },
              "onClick": {},
              "text": ""
            },
            "secondaryButton": {}
          },
          "header": {
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          },
          "name": "",
          "peekCardHeader": {},
          "sections": [
            {
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                {
                  "buttonList": {
                    "buttons": [
                      {}
                    ]
                  },
                  "dateTimePicker": {
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  },
                  "decoratedText": {
                    "bottomLabel": "",
                    "button": {},
                    "endIcon": {},
                    "icon": {},
                    "onClick": {},
                    "startIcon": {},
                    "switchControl": {
                      "controlType": "",
                      "name": "",
                      "onChangeAction": {},
                      "selected": false,
                      "value": ""
                    },
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  },
                  "divider": {},
                  "grid": {
                    "borderStyle": {
                      "cornerRadius": 0,
                      "strokeColor": {},
                      "type": ""
                    },
                    "columnCount": 0,
                    "items": [
                      {
                        "id": "",
                        "image": {
                          "altText": "",
                          "borderStyle": {},
                          "cropStyle": {
                            "aspectRatio": "",
                            "type": ""
                          },
                          "imageUri": ""
                        },
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      }
                    ],
                    "onClick": {},
                    "title": ""
                  },
                  "image": {
                    "altText": "",
                    "imageUrl": "",
                    "onClick": {}
                  },
                  "selectionInput": {
                    "items": [
                      {
                        "selected": false,
                        "text": "",
                        "value": ""
                      }
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": ""
                  },
                  "textInput": {
                    "autoCompleteAction": {},
                    "hintText": "",
                    "initialSuggestions": {
                      "items": [
                        {
                          "text": ""
                        }
                      ]
                    },
                    "label": "",
                    "name": "",
                    "onChangeAction": {},
                    "type": "",
                    "value": ""
                  },
                  "textParagraph": {
                    "text": ""
                  }
                }
              ]
            }
          ]
        }
      }
    },
    "type": "",
    "url": ""
  },
  "annotations": [
    {
      "length": 0,
      "slashCommand": {
        "bot": {
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        },
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      },
      "startIndex": 0,
      "type": "",
      "userMention": {
        "type": "",
        "user": {}
      }
    }
  ],
  "argumentText": "",
  "attachment": [
    {
      "attachmentDataRef": {
        "resourceName": ""
      },
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": {
        "driveFileId": ""
      },
      "name": "",
      "source": "",
      "thumbnailUri": ""
    }
  ],
  "cards": [
    {
      "cardActions": [
        {
          "actionLabel": "",
          "onClick": {
            "action": {
              "actionMethodName": "",
              "parameters": [
                {
                  "key": "",
                  "value": ""
                }
              ]
            },
            "openLink": {
              "url": ""
            }
          }
        }
      ],
      "header": {
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      },
      "name": "",
      "sections": [
        {
          "header": "",
          "widgets": [
            {
              "buttons": [
                {
                  "imageButton": {
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": {}
                  },
                  "textButton": {
                    "onClick": {},
                    "text": ""
                  }
                }
              ],
              "image": {
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": {}
              },
              "keyValue": {
                "bottomLabel": "",
                "button": {},
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": {},
                "topLabel": ""
              },
              "textParagraph": {
                "text": ""
              }
            }
          ]
        }
      ]
    }
  ],
  "cardsV2": [
    {
      "card": {},
      "cardId": ""
    }
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": {
    "url": ""
  },
  "name": "",
  "sender": {},
  "slashCommand": {
    "commandId": ""
  },
  "space": {
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": {
      "description": "",
      "guidelines": ""
    },
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  },
  "text": "",
  "thread": {
    "name": "",
    "threadKey": ""
  },
  "threadReply": false
}' |  \
  http PUT {{baseUrl}}/v1/:name \
  content-type:application/json
wget --quiet \
  --method PUT \
  --header 'content-type: application/json' \
  --body-data '{\n  "actionResponse": {\n    "dialogAction": {\n      "actionStatus": {\n        "statusCode": "",\n        "userFacingMessage": ""\n      },\n      "dialog": {\n        "body": {\n          "cardActions": [\n            {\n              "actionLabel": "",\n              "onClick": {\n                "action": {\n                  "function": "",\n                  "interaction": "",\n                  "loadIndicator": "",\n                  "parameters": [\n                    {\n                      "key": "",\n                      "value": ""\n                    }\n                  ],\n                  "persistValues": false\n                },\n                "card": "",\n                "openDynamicLinkAction": {},\n                "openLink": {\n                  "onClose": "",\n                  "openAs": "",\n                  "url": ""\n                }\n              }\n            }\n          ],\n          "displayStyle": "",\n          "fixedFooter": {\n            "primaryButton": {\n              "altText": "",\n              "color": {\n                "alpha": "",\n                "blue": "",\n                "green": "",\n                "red": ""\n              },\n              "disabled": false,\n              "icon": {\n                "altText": "",\n                "iconUrl": "",\n                "imageType": "",\n                "knownIcon": ""\n              },\n              "onClick": {},\n              "text": ""\n            },\n            "secondaryButton": {}\n          },\n          "header": {\n            "imageAltText": "",\n            "imageType": "",\n            "imageUrl": "",\n            "subtitle": "",\n            "title": ""\n          },\n          "name": "",\n          "peekCardHeader": {},\n          "sections": [\n            {\n              "collapsible": false,\n              "header": "",\n              "uncollapsibleWidgetsCount": 0,\n              "widgets": [\n                {\n                  "buttonList": {\n                    "buttons": [\n                      {}\n                    ]\n                  },\n                  "dateTimePicker": {\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "timezoneOffsetDate": 0,\n                    "type": "",\n                    "valueMsEpoch": ""\n                  },\n                  "decoratedText": {\n                    "bottomLabel": "",\n                    "button": {},\n                    "endIcon": {},\n                    "icon": {},\n                    "onClick": {},\n                    "startIcon": {},\n                    "switchControl": {\n                      "controlType": "",\n                      "name": "",\n                      "onChangeAction": {},\n                      "selected": false,\n                      "value": ""\n                    },\n                    "text": "",\n                    "topLabel": "",\n                    "wrapText": false\n                  },\n                  "divider": {},\n                  "grid": {\n                    "borderStyle": {\n                      "cornerRadius": 0,\n                      "strokeColor": {},\n                      "type": ""\n                    },\n                    "columnCount": 0,\n                    "items": [\n                      {\n                        "id": "",\n                        "image": {\n                          "altText": "",\n                          "borderStyle": {},\n                          "cropStyle": {\n                            "aspectRatio": "",\n                            "type": ""\n                          },\n                          "imageUri": ""\n                        },\n                        "layout": "",\n                        "subtitle": "",\n                        "title": ""\n                      }\n                    ],\n                    "onClick": {},\n                    "title": ""\n                  },\n                  "image": {\n                    "altText": "",\n                    "imageUrl": "",\n                    "onClick": {}\n                  },\n                  "selectionInput": {\n                    "items": [\n                      {\n                        "selected": false,\n                        "text": "",\n                        "value": ""\n                      }\n                    ],\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": ""\n                  },\n                  "textInput": {\n                    "autoCompleteAction": {},\n                    "hintText": "",\n                    "initialSuggestions": {\n                      "items": [\n                        {\n                          "text": ""\n                        }\n                      ]\n                    },\n                    "label": "",\n                    "name": "",\n                    "onChangeAction": {},\n                    "type": "",\n                    "value": ""\n                  },\n                  "textParagraph": {\n                    "text": ""\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    },\n    "type": "",\n    "url": ""\n  },\n  "annotations": [\n    {\n      "length": 0,\n      "slashCommand": {\n        "bot": {\n          "displayName": "",\n          "domainId": "",\n          "isAnonymous": false,\n          "name": "",\n          "type": ""\n        },\n        "commandId": "",\n        "commandName": "",\n        "triggersDialog": false,\n        "type": ""\n      },\n      "startIndex": 0,\n      "type": "",\n      "userMention": {\n        "type": "",\n        "user": {}\n      }\n    }\n  ],\n  "argumentText": "",\n  "attachment": [\n    {\n      "attachmentDataRef": {\n        "resourceName": ""\n      },\n      "contentName": "",\n      "contentType": "",\n      "downloadUri": "",\n      "driveDataRef": {\n        "driveFileId": ""\n      },\n      "name": "",\n      "source": "",\n      "thumbnailUri": ""\n    }\n  ],\n  "cards": [\n    {\n      "cardActions": [\n        {\n          "actionLabel": "",\n          "onClick": {\n            "action": {\n              "actionMethodName": "",\n              "parameters": [\n                {\n                  "key": "",\n                  "value": ""\n                }\n              ]\n            },\n            "openLink": {\n              "url": ""\n            }\n          }\n        }\n      ],\n      "header": {\n        "imageStyle": "",\n        "imageUrl": "",\n        "subtitle": "",\n        "title": ""\n      },\n      "name": "",\n      "sections": [\n        {\n          "header": "",\n          "widgets": [\n            {\n              "buttons": [\n                {\n                  "imageButton": {\n                    "icon": "",\n                    "iconUrl": "",\n                    "name": "",\n                    "onClick": {}\n                  },\n                  "textButton": {\n                    "onClick": {},\n                    "text": ""\n                  }\n                }\n              ],\n              "image": {\n                "aspectRatio": "",\n                "imageUrl": "",\n                "onClick": {}\n              },\n              "keyValue": {\n                "bottomLabel": "",\n                "button": {},\n                "content": "",\n                "contentMultiline": false,\n                "icon": "",\n                "iconUrl": "",\n                "onClick": {},\n                "topLabel": ""\n              },\n              "textParagraph": {\n                "text": ""\n              }\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  "cardsV2": [\n    {\n      "card": {},\n      "cardId": ""\n    }\n  ],\n  "clientAssignedMessageId": "",\n  "createTime": "",\n  "fallbackText": "",\n  "lastUpdateTime": "",\n  "matchedUrl": {\n    "url": ""\n  },\n  "name": "",\n  "sender": {},\n  "slashCommand": {\n    "commandId": ""\n  },\n  "space": {\n    "adminInstalled": false,\n    "displayName": "",\n    "name": "",\n    "singleUserBotDm": false,\n    "spaceDetails": {\n      "description": "",\n      "guidelines": ""\n    },\n    "spaceThreadingState": "",\n    "threaded": false,\n    "type": ""\n  },\n  "text": "",\n  "thread": {\n    "name": "",\n    "threadKey": ""\n  },\n  "threadReply": false\n}' \
  --output-document \
  - {{baseUrl}}/v1/:name
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "actionResponse": [
    "dialogAction": [
      "actionStatus": [
        "statusCode": "",
        "userFacingMessage": ""
      ],
      "dialog": ["body": [
          "cardActions": [
            [
              "actionLabel": "",
              "onClick": [
                "action": [
                  "function": "",
                  "interaction": "",
                  "loadIndicator": "",
                  "parameters": [
                    [
                      "key": "",
                      "value": ""
                    ]
                  ],
                  "persistValues": false
                ],
                "card": "",
                "openDynamicLinkAction": [],
                "openLink": [
                  "onClose": "",
                  "openAs": "",
                  "url": ""
                ]
              ]
            ]
          ],
          "displayStyle": "",
          "fixedFooter": [
            "primaryButton": [
              "altText": "",
              "color": [
                "alpha": "",
                "blue": "",
                "green": "",
                "red": ""
              ],
              "disabled": false,
              "icon": [
                "altText": "",
                "iconUrl": "",
                "imageType": "",
                "knownIcon": ""
              ],
              "onClick": [],
              "text": ""
            ],
            "secondaryButton": []
          ],
          "header": [
            "imageAltText": "",
            "imageType": "",
            "imageUrl": "",
            "subtitle": "",
            "title": ""
          ],
          "name": "",
          "peekCardHeader": [],
          "sections": [
            [
              "collapsible": false,
              "header": "",
              "uncollapsibleWidgetsCount": 0,
              "widgets": [
                [
                  "buttonList": ["buttons": [[]]],
                  "dateTimePicker": [
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "timezoneOffsetDate": 0,
                    "type": "",
                    "valueMsEpoch": ""
                  ],
                  "decoratedText": [
                    "bottomLabel": "",
                    "button": [],
                    "endIcon": [],
                    "icon": [],
                    "onClick": [],
                    "startIcon": [],
                    "switchControl": [
                      "controlType": "",
                      "name": "",
                      "onChangeAction": [],
                      "selected": false,
                      "value": ""
                    ],
                    "text": "",
                    "topLabel": "",
                    "wrapText": false
                  ],
                  "divider": [],
                  "grid": [
                    "borderStyle": [
                      "cornerRadius": 0,
                      "strokeColor": [],
                      "type": ""
                    ],
                    "columnCount": 0,
                    "items": [
                      [
                        "id": "",
                        "image": [
                          "altText": "",
                          "borderStyle": [],
                          "cropStyle": [
                            "aspectRatio": "",
                            "type": ""
                          ],
                          "imageUri": ""
                        ],
                        "layout": "",
                        "subtitle": "",
                        "title": ""
                      ]
                    ],
                    "onClick": [],
                    "title": ""
                  ],
                  "image": [
                    "altText": "",
                    "imageUrl": "",
                    "onClick": []
                  ],
                  "selectionInput": [
                    "items": [
                      [
                        "selected": false,
                        "text": "",
                        "value": ""
                      ]
                    ],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": ""
                  ],
                  "textInput": [
                    "autoCompleteAction": [],
                    "hintText": "",
                    "initialSuggestions": ["items": [["text": ""]]],
                    "label": "",
                    "name": "",
                    "onChangeAction": [],
                    "type": "",
                    "value": ""
                  ],
                  "textParagraph": ["text": ""]
                ]
              ]
            ]
          ]
        ]]
    ],
    "type": "",
    "url": ""
  ],
  "annotations": [
    [
      "length": 0,
      "slashCommand": [
        "bot": [
          "displayName": "",
          "domainId": "",
          "isAnonymous": false,
          "name": "",
          "type": ""
        ],
        "commandId": "",
        "commandName": "",
        "triggersDialog": false,
        "type": ""
      ],
      "startIndex": 0,
      "type": "",
      "userMention": [
        "type": "",
        "user": []
      ]
    ]
  ],
  "argumentText": "",
  "attachment": [
    [
      "attachmentDataRef": ["resourceName": ""],
      "contentName": "",
      "contentType": "",
      "downloadUri": "",
      "driveDataRef": ["driveFileId": ""],
      "name": "",
      "source": "",
      "thumbnailUri": ""
    ]
  ],
  "cards": [
    [
      "cardActions": [
        [
          "actionLabel": "",
          "onClick": [
            "action": [
              "actionMethodName": "",
              "parameters": [
                [
                  "key": "",
                  "value": ""
                ]
              ]
            ],
            "openLink": ["url": ""]
          ]
        ]
      ],
      "header": [
        "imageStyle": "",
        "imageUrl": "",
        "subtitle": "",
        "title": ""
      ],
      "name": "",
      "sections": [
        [
          "header": "",
          "widgets": [
            [
              "buttons": [
                [
                  "imageButton": [
                    "icon": "",
                    "iconUrl": "",
                    "name": "",
                    "onClick": []
                  ],
                  "textButton": [
                    "onClick": [],
                    "text": ""
                  ]
                ]
              ],
              "image": [
                "aspectRatio": "",
                "imageUrl": "",
                "onClick": []
              ],
              "keyValue": [
                "bottomLabel": "",
                "button": [],
                "content": "",
                "contentMultiline": false,
                "icon": "",
                "iconUrl": "",
                "onClick": [],
                "topLabel": ""
              ],
              "textParagraph": ["text": ""]
            ]
          ]
        ]
      ]
    ]
  ],
  "cardsV2": [
    [
      "card": [],
      "cardId": ""
    ]
  ],
  "clientAssignedMessageId": "",
  "createTime": "",
  "fallbackText": "",
  "lastUpdateTime": "",
  "matchedUrl": ["url": ""],
  "name": "",
  "sender": [],
  "slashCommand": ["commandId": ""],
  "space": [
    "adminInstalled": false,
    "displayName": "",
    "name": "",
    "singleUserBotDm": false,
    "spaceDetails": [
      "description": "",
      "guidelines": ""
    ],
    "spaceThreadingState": "",
    "threaded": false,
    "type": ""
  ],
  "text": "",
  "thread": [
    "name": "",
    "threadKey": ""
  ],
  "threadReply": false
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/v1/:name")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()