volorio_chat 0.2.0 copy "volorio_chat: ^0.2.0" to clipboard
volorio_chat: ^0.2.0 copied to clipboard

Volorio Flutter chat primitives built on Volorio RTM.

volorio_chat #

Flutter chat primitives for private messages, group rooms, communities, attachments, replies, and moderation-ready message envelopes.

volorio_chat depends on volorio_rtm, so chat messages are sent through the active Volorio realtime channel.

Keywords #

Flutter chat SDK, realtime chat, group messaging, community chat, chat attachments, voice room chat, Volorio chat, RTM chat.

Install #

dependencies:
  volorio_chat: ^0.2.0

Send a text message #

import 'package:volorio_chat/volorio_chat.dart';

final chat = VolorioChatClient(rtm);

await chat.sendText(
  conversationId: 'audio-party-123',
  senderId: 'user_123',
  text: 'Hello room',
  clientMessageId: 'msg_001',
);

Send an attachment #

await chat.sendMessage(
  const VolorioChatMessage(
    conversationId: 'audio-party-123',
    senderId: 'user_123',
    text: 'Photo attached',
    attachments: [
      VolorioChatAttachment(
        type: VolorioChatAttachmentType.image,
        url: 'https://cdn.example.com/photo.webp',
        mimeType: 'image/webp',
      ),
    ],
  ),
);

Entitlements #

Your backend-created session should include:

  • VolorioProductId.signaling
  • VolorioProductId.chatMau

For end-to-end encrypted chat, use the paid chat_e2ee add-on entitlement when that Flutter package is enabled.

0
likes
140
points
74
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Volorio Flutter chat primitives built on Volorio RTM.

Homepage
Repository (GitHub)

Topics

#volorio #chat #messaging #realtime #flutter

License

MIT (license)

Dependencies

flutter, volorio_rtm

More

Packages that depend on volorio_chat