Search Results for

    Show / Hide Table of Contents

    Interface ISmsService

    Namespace: Simplic.Sms
    Assembly: Simplic.Sms.dll
    Syntax
    public interface ISmsService

    Methods

    | Improve this Doc View Source

    GetQueuedSms()

    Returns a list of queued sms

    Declaration
    IEnumerable<SmsQueue> GetQueuedSms()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<SmsQueue>

    a list of queued sms

    | Improve this Doc View Source

    Queue(String, String)

    Adds an sms to the sms queue

    Declaration
    bool Queue(string number, string body)
    Parameters
    Type Name Description
    System.String number

    Phone number to send an sms

    System.String body

    The sms text

    Returns
    Type Description
    System.Boolean

    True if successfull

    | Improve this Doc View Source

    Save(SmsQueue)

    Saves an sms queue object in the db

    Declaration
    bool Save(SmsQueue smsQueue)
    Parameters
    Type Name Description
    SmsQueue smsQueue

    Sms

    Returns
    Type Description
    System.Boolean

    True if successfull

    | Improve this Doc View Source

    SaveRange(IList<SmsQueue>)

    Saves a list of sms queue object in the db

    Declaration
    bool SaveRange(IList<SmsQueue> smsQueues)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<SmsQueue> smsQueues

    List of sms object

    Returns
    Type Description
    System.Boolean

    True if successfull

    | Improve this Doc View Source

    SendSms(SmsQueue)

    Sends an sms using a provider (lox24 is default)

    Declaration
    bool SendSms(SmsQueue smsQueue)
    Parameters
    Type Name Description
    SmsQueue smsQueue
    Returns
    Type Description
    System.Boolean

    True if successfull

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx