Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallConnector

Connect a UniversalCallBot to the Skype calling service.

Hierarchy

  • CallConnector

Implements

Index

Constructors

constructor

  • Creates a new instnace of the ChatConnector.

    Parameters

    • Optional settings: ICallConnectorSettings

      (Optional) config params that let you specify the bots App ID & Password you were assigned in the Bot Frameworks developer portal.

    Returns CallConnector

Methods

getData

listen

  • listen(): function
  • Registers an Express or Restify style hook to listen for new messages.

    Returns function

      • (req: any, res: any): void
      • Parameters

        • req: any
        • res: any

        Returns void

onEvent

  • onEvent(handler: function): void
  • Called by the UniversalCallBot at registration time to register a handler for receiving incoming events from the calling service.

    Parameters

    • handler: function
        • (event: IEvent, cb?: function): void
        • Parameters

          • event: IEvent
          • Optional cb: function
              • (err: Error): void
              • Parameters

                • err: Error

                Returns void

          Returns void

    Returns void

saveData

send

  • send(event: IEvent, done: function): void
  • Called by the UniversalCallBot to deliver workflow actions to the service.

    Parameters

    • event: IEvent
    • done: function
        • (err: Error): void
        • Parameters

          • err: Error

          Returns void

    Returns void

verifyBotFramework

  • verifyBotFramework(): function
  • Express or Resitify style middleware that verifies recieved messages are from the Bot Framework.

    Returns function

      • (req: any, res: any, next: any): void
      • Parameters

        • req: any
        • res: any
        • next: any

        Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method