Class Action
The base class for all actions that can be included on a ReceivedMessage or SendingMessage.
Implements
Inherited Members
Namespace: ntfy.Actions
Assembly: ntfy.dll
Syntax
public abstract class Action : IAction
Constructors
| Improve this Doc View SourceAction(string)
Constructor for an action.
Declaration
protected Action(string label)
Parameters
Type | Name | Description |
---|---|---|
string | label | The label for the action. |
Properties
| Improve this Doc View SourceLabel
The label of this action.
Declaration
[JsonProperty("label", Required = Required.Always, NullValueHandling = NullValueHandling.Ignore)]
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of this action, as an ActionType enum.
Declaration
[JsonIgnore]
public abstract ActionType Type { get; }
Property Value
Type | Description |
---|---|
ActionType |