ODLiveStatusUrlSource class
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This is the Open Ticket livestatus url source.
It is a LiveStatus source that will read the data from a http URL (json file).
This is the default way of receiving LiveStatus messages!
Properties
inherited data array ➜ api.ODLiveStatusSourceData[]
The raw data of this source
inherited id class ➜ api.ODId
The id of this data.
request class ➜ api.ODHTTPGetRequest
The ODHTTPGetRequest helper to fetch the url!
url string ➜ string
The url used in the request
Methods
constructor() function ➜ api.ODLiveStatusUrlSource
(no description)
View Parameters (2)
id: type ➜api.ODValidId- Parameter Description Lorem Ipsum.url: string ➜string- Parameter Description Lorem Ipsum.
inherited protected _change() function ➜ void
Trigger an onChange() event in the parent ODManager of this class.
inherited changed() function ➜ void
(❌ SYSTEM ONLY!!) Set the callback executed when a value inside this class changes.
getMessages() function ➜ Promise
Get all messages relevant to the bot based on some parameters.
View Parameters (1)
main: class ➜api.ODMain- Parameter Description Lorem Ipsum.
inherited setData() function ➜ void
Change the current data using this method!
View Parameters (1)
data: array ➜api.ODLiveStatusSourceData[]- Parameter Description Lorem Ipsum.
Defaults
We're still working on this part of the documentation!
Examples
We're still working on this part of the documentation!