Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Message
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SKM.V3.Methods
    Assembly: Cryptolens.Licensing.CrossPlatform.dll
    Syntax
    public class Message

    Methods

    | Edit this page View Source

    CreateMessage(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.

    | Edit this page View Source

    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.

    | Edit this page View Source

    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.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © Cryptolens AB