Overview
Fluxer provides comprehensive support for rich media content including file attachments, embedded content, automatic link previews (unfurling), and rich embed objects for creating visually appealing messages.File Attachments
Upload and share images, videos, documents, and more
Rich Embeds
Structured content with titles, descriptions, and media
Link Previews
Automatic unfurling of websites, social media, and more
Attachment References
Reference uploaded files in embeds with
attachment:// URLsFile Attachments
Attachments allow users to share files of various types.Uploading Attachments
Attachment Types
Fluxer handles different file types with specialized rendering:- Images
- Videos
- Audio
- Documents
Images are automatically resized and optimized for display. Original files are preserved.
Attachment Limits
Default: 8 MB per file (configurable via limits)
Default: 10 files per message
All attachments + content must be under total size limit
Spoiler Attachments
Rich Embeds
Embeds are structured content blocks with titles, descriptions, colors, images, and fields.Creating Embeds
Embed Structure
Main title (max 256 characters)
Main content (max 4096 characters, supports markdown)
URL that title links to
Color code of the embed’s left border (hex as decimal)
ISO 8601 timestamp displayed in footer
Author information displayed at top
name: Author name (256 chars)url: URL author name links toicon_url: Small icon next to author name
Small image displayed in top-right
url: Image URLwidth: Image width (optional)height: Image height (optional)
Large image displayed in embed body
url: Image URL orattachment://filenamewidth: Image width (optional)height: Image height (optional)
Footer text and icon
text: Footer text (2048 chars)icon_url: Small footer icon
Array of field objects (max 25)
name: Field name (256 chars)value: Field value (1024 chars)inline: Whether field displays inline (boolean)
Embed Limits
- Title: 256 characters
- Description: 4096 characters
- Fields: 25 maximum
- Field name: 256 characters
- Field value: 1024 characters
- Footer text: 2048 characters
- Author name: 256 characters
- Total: 6000 characters
Attachment References in Embeds
You can reference uploaded attachments in embed images usingattachment:// URLs:
The
attachment:// URLs are automatically resolved to CDN URLs before the message is dispatched to clients.Validation
Link Previews (Unfurling)
Fluxer automatically generates previews for URLs in messages.Supported Platforms
Social Media
Twitter/X, Bluesky, Instagram, TikTok
Media
YouTube, Vimeo, Spotify, SoundCloud
Development
GitHub, GitLab, Stack Overflow
General
Any website with OpenGraph or oEmbed
How It Works
Example Unfurled Content
Suppressing Embeds
Users can prevent link unfurling:Message Editing with Media
You can modify attachments and embeds when editing messages:Permissions
Required to upload attachments to messages
Required to send messages with embeds or link previews
Required to use custom emojis in embed descriptions
Best Practices
Optimize Media Files
Compress images and videos before uploading to reduce bandwidth and improve load times.
Use Attachment References
Prefer
attachment:// URLs in embeds to avoid uploading the same file multiple times.Troubleshooting
Attachment Upload Fails
Attachment Upload Fails
- Check file size limits
- Verify file type is supported
- Ensure you have
ATTACH_FILESpermission - Check network connectivity
Embed Not Displaying
Embed Not Displaying
- Verify you have
EMBED_LINKSpermission - Check total character count under 6000
- Ensure all URLs are valid and accessible
- Validate embed structure matches schema
Link Preview Not Working
Link Preview Not Working
- Check if URL is publicly accessible
- Verify website has OpenGraph tags
- Ensure embeds aren’t suppressed with
<>or flags - Some URLs may be blocklisted
Attachment Reference Fails
Attachment Reference Fails
- Verify attachment filename matches exactly
- Ensure attachment is included in same request
- Check that
attachment://prefix is correct - Validate attachment hasn’t been deleted
Related Resources
Messaging
Learn about sending messages
Custom Expressions
Add custom emojis and stickers
Communities
Understand channel permissions
API Reference
Complete API documentation