Skip to content

timpeq/teli-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teli Node Deno

This is a fork of Teli Node modified to work with Deno.

I'm not affiliated with Teli in any way other than being a customer.

This is still work-in-progress, but it is at least partially usable.

Documentation

The documentation for the Tele API can be found here.

Basic Example

import { Teli } from "https://raw.githubusercontent.com/timpeq/teli-node/master/src/index.ts"

const callApiSIDToken = Deno.env.get("TELI_CALL_API_SID_TOKEN"); // Your Call API SID Token from https://control.teli.net
const apiToken = Deno.env.get("TELI_API_TOKEN");   // Your API Token from https://control.teli.net

const teli = new Teli(callApiSIDToken, apiToken);

console.log(await teli.userDids.listAll());

teli.sms.send({
    destination: 123,
    source: 456,
    message: 'Hello World'
})

About

The Teli Node Helper Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%