import { Sendon, SmsMessageType } from '@alipeople/sendon-sdk-typescript'
const sendon = new Sendon({ id: 'ID', apikey: 'APIKEY'})
async function example() {
const result: any = await sendon.sms.send({
type: SmsMessageType.SMS,
from: '01011111111',
to: ['01022222222'],
message: '안녕하세요. Sendon SDK Typescript 이용한 문자 발송입니다.',
})
console.log(`${JSON.stringify(result)}`)
}
example()