This package provides an XMTP content type to support text messages.
Note
This content type is included by default in official XMTP SDKs.
# npm
npm i @xmtp/content-type-text
# yarn
yarn add @xmtp/content-type-text
# pnpm
pnpm i @xmtp/content-type-textUse a string to send a text message. It's not required to specify a content type in the send options for text messages.
await conversation.send("gm");Run yarn dev to build the content type and watch for changes, which will trigger a rebuild.
For more information on contributing to this repository, see our contributing guidelines.