TriggerOptions
public struct TriggerOptions
Options of trigger.
This class contains optional data in order to create and modify
Trigger with following methods:
-
Title of a command.
Declaration
Swift
public let title: String? -
Description of a trigger.
Declaration
Swift
public let triggerDescription: String? -
Meta data of a trigger.
Declaration
Swift
public let metadata: [String : Any]?
-
Initializer of TriggerOptions instance.
Declaration
Swift
public init(_ title: String? = nil, triggerDescription: String? = nil, metadata: [String : Any]? = nil)Parameters
titleTitle of a command. This should be equal or less than 50 characters.
descriptionDescription of a comand. This should be equal or less than 200 characters.
metadataMeta data of a command.
View on GitHub
TriggerOptions Struct Reference