Class Utilities
Utilities functions.
Inherited Members
Namespace: ntfy
Assembly: ntfy.dll
Syntax
public static class Utilities
Methods
| Improve this Doc View SourceGenerateRandomSendingMessagee(bool, string, string)
Declaration
public static SendingMessage GenerateRandomSendingMessagee(bool useWords = false, string email = "", string attachementsUrl = "")
Parameters
| Type | Name | Description |
|---|---|---|
| bool | useWords | |
| string | ||
| string | attachementsUrl |
Returns
| Type | Description |
|---|---|
| SendingMessage |
GenerateRandomTopic(bool)
Generate a random topic name.
Declaration
public static string GenerateRandomTopic(bool useWords = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | useWords | Whether the topic should be human-readable words. Default: false. |
Returns
| Type | Description |
|---|---|
| string | A random topic name. |