Skip to content
Zaun
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Menu
Start here
Introduction
What is Zaun?
Quick start
Concepts
Communities and hosts
Members, roles and permissions
Channels, messages and sync
SimpleX transport and trust
Typing indicators
Running a host
Installing zaun-host
First run
Configuring a host
Moving a community and backups
Building a client
Installing zaun-client
Connecting and joining
Sending and managing messages
Embeds and attachments
Members, roles and moderation
Voice
Using bots
Direct messages with bots
Typing indicators
Status and presence
Events and the cache
Bots
Why bots run in the host
Bot quick start
TypeScript or Rust?
Slash commands
Options and autocomplete
Interactions and responses
Buttons, selects and layouts
Modals
Embeds
Events
Direct messages
Status and presence
Voice and music
Storage, timers and HTTP
Manifest, grants and the bot card
Packaging, signing and updates
Installing bots on a host
External bots with zaun-client
Porting an existing bot
Examples
Examples
Ping (hosted bot)
Poll with buttons
Feedback form (modal)
Welcome DM
Music in voice
Ping bot with zaun-client
Reference
Reference
zaun-host command line
Configuration
Limits
TypeScript bot API (@zaun/bot)
@zaun/bot (TypeScript bots)
Classes
ActionRowBuilder
Activity
AutocompleteInteraction
BaseInteraction
Bot
ButtonBuilder
ChannelSelectMenuBuilder
ChatInputCommandInteraction
CheckboxBuilder
CheckboxGroupBuilder
CommandInteractionOptionResolver
ContainerBuilder
ContextMenuCommandBuilder
EmbedBuilder
EventContext
FileBuilder
FileUploadBuilder
HttpError
LabelBuilder
MediaGalleryBuilder
Member
MemberRoles
MentionableSelectMenuBuilder
Message
MessageComponentInteraction
MessageContextMenuCommandInteraction
MessageMentions
ModalBuilder
ModalCapableInteraction
ModalSubmitFields
ModalSubmitInteraction
OptionBuilder
RadioGroupBuilder
RepliableInteraction
RoleSelectMenuBuilder
SectionBuilder
SeparatorBuilder
SlashCommandBuilder
SlashCommandSubcommandBuilder
SlashCommandSubcommandGroupBuilder
StringSelectMenuBuilder
StringSelectMenuOptionBuilder
TextDisplayBuilder
TextInputBuilder
ThumbnailBuilder
UserContextMenuCommandInteraction
UserSelectMenuBuilder
ZaunError
ZaunValidationError
Interfaces
AudioStreamOptions
AutocompleteChoice
BotEvents
Command
CommandLike
EmbedData
HttpResponse
Me
MediaGalleryItem
MessageOptions
Type Aliases
ApplicationCommandOptionType
ApplicationCommandType
AudioFormat
ButtonInteraction
ButtonStyle
ChannelSelectMenuInteraction
ContainerComponent
EventMessage
Interaction
LabelComponent
LoopMode
MentionableSelectMenuInteraction
MessagePayload
PresenceStatus
RoleSelectMenuInteraction
RowComponent
SeparatorSpacingSize
StringSelectMenuInteraction
TextInputStyle
TopLevelComponent
TrackOptions
UserSelectMenuInteraction
VoiceState
Variables
ApplicationCommandOptionType
ApplicationCommandType
audio
ButtonStyle
community
ComponentType
dms
everyoneMention
http
Limits
log
memberMention
MentionLimits
messages
PermissionFlagsBits
presence
SeparatorSpacingSize
storage
TextInputStyle
timers
voice
Functions
hasPermission
interactionFromWit
isId
parseMentions
roleMention
setCommands
toBody
userMention
JavaScript client API (zaun-client)
zaun-client (JavaScript)
Classes
ActionRowBuilder
Attachment
AttachmentReader
ButtonBuilder
Channel
Client
Collection
CommandBuilder
Community
ContainerBuilder
Embed
EmbedBuilder
Interaction
Member
Message
MessageMentions
ModalBuilder
Permissions
RawClient
Role
SelectBuilder
SimplexClient
TextInputBuilder
VoiceConnection
ZaunError
Interfaces
Activity
AllowedMentions
ApplicationCommandData
BotCapabilities
BotCard
BotConfigKey
BotSource
CatalogSeen
CatalogVerification
ClientEvents
CommandOptionData
DmChannelData
DmSettings
EmbedData
EmbedFieldData
FileToSend
HistoryVerification
InstallSource
MentionsData
MentionsInput
OptionValueData
PackageIdentity
PackageInspection
Presence
RegistryError
StartOptions
VoiceEvents
VoiceState
Type Aliases
BotMessageOptions
ComponentData
MessageEditOptions
MessageOptions
PermissionFlag
PermissionResolvable
PictureSource
Variables
ApplicationCommandType
ButtonStyle
ComponentType
everyoneMention
InteractionType
MentionLimits
MessageFlags
OptionType
RawAttachmentReader
TextInputStyle
Functions
inspectPackage
memberMention
parseMentions
registryKeyId
roleMention
userMention
verifyCatalog
verifyHistory
Rust API
Overview
zaun-client
zaun-bot
zaun-community-protocol
Bot WIT interface
Overview
Interface: audio
Interface: commands
Interface: community
Interface: dms
Interface: http
Interface: interactions
Interface: log
Interface: messages
Interface: presence
Interface: storage
Interface: timers
Interface: types
Interface: voice
World: bot
Resources
FAQ
Glossary
Coming soon
Using these docs with AI
GitHub
Select theme
Dark
Light
Auto
RawAttachmentReader
View as Markdown
·
llms.txt
RawAttachmentReader
:
any