Skip to content

Release Notes: v0.8.0

Release Date: 2026-06-15

Summary

This release adds RCS (Rich Communication Services) support to the Twilio provider, enabling rich messaging with automatic fallback to SMS/MMS.

Highlights

  • Twilio RCS support with MessagingServiceSid configuration for rich messaging

New Features

Twilio RCS Messaging

RCS provides rich messaging capabilities with automatic fallback to SMS/MMS when RCS is unavailable:

import "github.com/plexusone/omnichat/providers/twilio"

// Enable RCS by setting MessagingServiceSid
p, err := twilio.New(twilio.Config{
    AccountSID:          os.Getenv("TWILIO_ACCOUNT_SID"),
    AuthToken:           os.Getenv("TWILIO_AUTH_TOKEN"),
    MessagingServiceSid: os.Getenv("TWILIO_MESSAGING_SERVICE_SID"), // RCS-enabled
    Logger:              logger,
})

// Send message - RCS attempted, falls back to SMS/MMS if unavailable
router.Send(ctx, "twilio", "+15559876543", provider.OutgoingMessage{
    Content: "Hello via RCS!",
})

// Send RCS with content template (rich cards, carousels)
router.Send(ctx, "twilio", "+15559876543", provider.OutgoingMessage{
    Content: "Order update",
    Metadata: map[string]any{
        "content_sid":       "HXxxxxxxxx", // Pre-created content template
        "content_variables": `{"1": "John", "2": "#12345"}`,
    },
})

RCS Setup:

  1. Create a Messaging Service in the Twilio Console
  2. Add an RCS sender to your Messaging Service (requires carrier approval)
  3. Set MessagingServiceSid in your configuration

RCS Features:

  • Branded sender identity
  • Rich cards and carousels (via Content API templates)
  • Suggested replies and actions
  • Read receipts and typing indicators
  • Automatic fallback to SMS/MMS when RCS unavailable

Dependencies

  • Bump github.com/plexusone/omni-twilio from 0.5.0 to 0.6.0
  • Bump github.com/plexusone/omni-google from 0.4.1 to 0.5.0
  • Bump github.com/slack-go/slack from 0.24.0 to 0.26.0
  • Bump github.com/grokify/mogo from 0.74.5 to 0.74.6
  • Bump go.mau.fi/whatsmeow to latest
  • Bump modernc.org/sqlite from 1.51.0 to 1.52.0

Upgrade Guide

This release is backwards compatible. Update your dependency:

go get github.com/plexusone/omnichat@v0.8.0

Enabling RCS

To use RCS messaging:

  1. Ensure you have a Twilio Messaging Service with an RCS sender configured
  2. Add MessagingServiceSid to your Twilio provider configuration
  3. Messages will automatically attempt RCS delivery with SMS/MMS fallback

Contributors

  • Claude Opus 4.5 (AI pair programming)