This software development kit is made to create TalkOps extensions using Node.js.
- Attachment
- Extension
- Image
- Link
- Media
- Parameter
- Video
Extends Link
Represents an attachment.
urlfilename
filenameString The filename of the attachment.
- Throws TypeError If the filename is not valid.
Returns Attachment The updated attachment instance.
Represents an extension.
Returns Extension The starting extension instance.
Returns Extension The updated extension instance.
Returns Boolean If the extension is enabled.
demoBoolean If the extension is a demonstration.
Returns Extension The updated extension instance.
nameString The name of the extension.
Returns Extension The updated extension instance.
iconString The icon url of the extension.
Returns Extension The updated extension instance.
websiteString The website url of the extension.
Returns Extension The updated extension instance.
categoryString The category of the extension.
Returns Extension The updated extension instance.
Returns Extension The updated extension instance.
Returns Extension The updated extension instance.
Returns Extension The updated extension instance.
instructionsString The instructions of the extension.
Returns Extension The updated extension instance.
Returns Extension The updated extension instance.
Returns Extension The updated extension instance.
Enables alarm.
Send one or more medias.
Send a message.
textString The text of the message.
Send a notification.
textString The text of the notification.
Extends Link
Represents an image.
Extends Media
Represents a link.
url
urlString The url of the link.
- Throws TypeError If the url is not a valid URL.
Returns Link The updated link instance.
Represents a media.
Represents a parameter.
nameString The name of the parameter.
Returns String The name of the parameter.
optionalBoolean If the parameter is optional.
Returns Parameter The updated parameter instance.
Returns Boolean If the parameter is optional.
descriptionString The description of the parameter.
Returns Parameter The updated parameter instance.
defaultValueString The default value of the parameter.
Returns Parameter The updated parameter instance.
typeString The type of the parameter.
Returns Parameter The updated parameter instance.
Returns String The value of the parameter.
valueString The value of the parameter.
Returns Parameter The updated parameter instance.
Returns Boolean If the parameter is not empty.
Returns Parameter The updated parameter instance.
Returns Parameter The updated parameter instance.
Extends Link
Represents an video.