-
适用于Telegra.ph的微小API助手是Tele
资源介绍
:memo: 电报
Telegra.ph的微型API助手。
原料药
安装
$ npm install telegra . ph -- save
例子
const Telegraph = require ( 'telegra.ph' )
const client = new Telegraph ( )
client . createAccount ( ) . then ( ( account ) => {
client . token = account . access_token
return client . getPageList ( )
} ) . then ( ( pages ) => console . log ( pages ) )
const Telegraph = require ( 'telegra.ph' )
const client = new Telegraph