Cleaner API
Closed this issue · 0 comments
tawn33y commented
- Show full Typescript definition for function arguments on hover: i.e.
// instead of:
sendText(options: TextMessageOptions)
// show:
sendText(to: string, text: string)
- Remove unnecessary boilerplate & remodel functions into a more friendly format, e.g.
// instead of:
sendMedia({ to: 'xx', type: 'image', link: 'https://...' })
// use:
sendImage('xx', 'https://...')
- Add API reference