Class Message
Methods related to the Message API (https://app.cryptolens.io/docs/api/v3/Message). You can broadcast new messages by visiting https://app.cryptolens.io/Message.
Inherited Members
Namespace: SKMV3Methods
Assembly: Cryptolens.Licensing.CrossPlatform.dll
Syntax
public class Message
Methods
| Improve this Doc View SourceCreateMessage(string, CreateMessageModel)
This method will create a new message (which you can also manage here). This method requires Edit Messages permission.
Declaration
public static CreateMessageResult CreateMessage(string token, CreateMessageModel parameters)
Parameters
Type | Name | Description |
---|---|---|
string | token | The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth |
CreateMessageModel | parameters | The parameters that the method needs |
Returns
Type | Description |
---|---|
CreateMessageResult | Returns GetMessagesResult or null. |
GetMessages(string, GetMessagesModel)
This method will return a list of messages that were broadcasted.You can create new messages here. Messages can be filtered based on the time and the channel.
Declaration
public static GetMessagesResult GetMessages(string token, GetMessagesModel parameters)
Parameters
Type | Name | Description |
---|---|---|
string | token | The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth |
GetMessagesModel | parameters | The parameters that the method needs |
Returns
Type | Description |
---|---|
GetMessagesResult | Returns GetMessagesResult or null. |
RemoveMessage(string, RemoveMessageModel)
This method will remove a message that was previously broadcasted (which you can also manage here). This method requires Edit Messages permission.
Declaration
public static BasicResult RemoveMessage(string token, RemoveMessageModel parameters)
Parameters
Type | Name | Description |
---|---|---|
string | token | The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth |
RemoveMessageModel | parameters | The parameters that the method needs |
Returns
Type | Description |
---|---|
BasicResult | Returns GetMessagesResult or null. |