Menu

Chat SDK adds Sendblue support - Vercel
📰

Chat SDK adds Sendblue support - Vercel

Vercel News·Ben Sabic·5 days ago
#g6xKPsJb
#vercel#chat#sendblue#adapter#imessage
Reading 0:00
15s threshold

Chat SDK now supports Sendblue with the new vendor-official adapter .

Build bots that send and receive iMessage, SMS, and RCS through Sendblue's hosted gateway, reaching people on the messaging apps they already use. Messages use iMessage-first delivery with support for automatic SMS and RCS fallback, tapbacks, typing indicators, and delivery status callbacks.

import { Chat } from "chat" ;

import { createSendblueAdapter } from "chat-adapter-sendblue" ;

import { createMemoryState } from "@chat-adapter/state-memory" ;

const chat = new Chat ( {

userName : "imessage-bot" ,

adapters : {

sendblue : createSendblueAdapter ( ) ,

} ,

state : createMemoryState ( ) ,

} ) ;

chat . onDirectMessage ( async ( thread , message ) => {

await thread . post ( ` Got it: ${ message .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.