Skip to main content
Version: v4

Action Entity

Base class for defining the type of actions that can be performed on BaseInteractiveElement

Various types of Actions:

Plugin Configuration

ActionDescriptionKey
Api ActionTo perform Post, PUT, DELETE, PATCH type of API actions on the user-defined APIs with given payloadapiAction
URL NavigationTo open any defined action on given URLurlNavigation
Custom ActionTo set a custom action on the front endcustomAction

Api Action

Api Action

let action = APIAction()
action.url = "url" //Replace this with the required url
action.method = .post,//replace this with the type of method
action.dataKey: "cometchatData",//replace this with the key , if you want to replace the key oin which all the data for form will be sent
action.headers = header,//set the header for the request
action.payload = payload//set the payloaf forn the request"\

URL Navigation

let navigation = URLNavigationAction()
navigation.url = "https://www.cometchat.com/"