
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Install <code>npm install chatfuel</code> Usage <code>const chatfuel = require('chatfuel')</code> API Reference <li> Send Text </li> <li>
npm install chatfuel
const chatfuel = require('chatfuel')
messages.push(chatfuel.sendText({ text: 'Hello' }))
messages.push(chatfuel.sendText({ text: 'Welcome to chatfuel' }))
Messenger supports JPG, PNG and GIF images. If you are having issues with GIF rendering, please try to reduce the file size.
const photo = 'http://ngaoduky.com/assets/img/ngaoduky.jpg'
messages.push(chatfuel.sendImage({url:photo}))
Messenger supports MP4 videos, which are up to 25MB in size.
const video = 'http://ngaoduky.com/assets/img/ngaoduky.mp4'
messages.push(chatfuel.sendVideo({url:video}))
Messenger supports MP3, OGG, WAV audios, which are up to 25MB in size
const audio = 'http://ngaoduky.com/assets/img/ngaoduky.mp3'
messages.push(chatfuel.sendAudio({url:audio}))
Files are no larger than 25 MB
const file = 'http://ngaoduky.com/assets/img/ngaoduky.pdf'
messages.push(chatfuel.sendAudio({url:file}))
const title = 'Title of element'
const image_url = 'http://ngaoduky.com/assets/img/ngaoduky.jpg'
const subtitle = 'Size: M'
buttons.push(chatfuel.createButtonToURL({ url: 'https://www.facebook.com/', title: 'Go to facebook' }))
const element = chatfuel.createElement({ title, image_url, subtitle, buttons })
const elements = []
elements.push(element)
elements.push(element)
messages.push(chatfuel.sendGalleries({ elements }))
const title = 'Title of element'
const image_url = 'http://ngaoduky.com/assets/img/ngaoduky.jpg'
const subtitle = 'Size: M'
buttons.push(chatfuel.createButtonToURL({ url: 'https://www.facebook.com/', title: 'Go to facebook' }))
const element = chatfuel.createElement({ title, image_url, subtitle, buttons })
const elements = []
elements.push(element)
elements.push(element)
messages.push(chatfuel.sendLists({ elements }))
const title = 'SELECT ITEM'
const block_names = ['SELECT_ITEM']
const set_attributes = { item_id: '3' }
const buttons = []
buttons.push(chatfuel.createButtonToBlock({ title, block_names, set_attributes }))
const title = 'View My Blog'
const url = 'http://ngaoduky.com/'
const buttons = []
buttons.push(chatfuel.createButtonToURL({ url, title }))
const title = 'Call me maybe'
const phone_number = '0989999999'
buttons.push(chatfuel.createCallButton({ phone_number, title }))
const title = 'Back'
const url = 'https://rockets.chatfuel.com/api/welcome'
buttons.push(chatfuel.createPostBackButton({ url, title }))
const title = 'Show menu'
const block_names = ['MENU']
buttons.push(chatfuel.createQuickReplyButton({ title, block_names }))
buttons.push(chatfuel.createShareButton())
FAQs
Install <code>npm install chatfuel</code> Usage <code>const chatfuel = require('chatfuel')</code> API Reference <li> Send Text </li> <li>
The npm package chatfuel receives a total of 10 weekly downloads. As such, chatfuel popularity was classified as not popular.
We found that chatfuel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.