Marmot-TS
Preparing search index...
@internet-privacy/marmot-ts
prepareMediaMessage
Function prepareMediaMessage
prepareMediaMessage
(
group
:
MarmotGroup
<
any
,
any
>
,
files
:
readonly
{
blob
:
Blob
;
metadata
:
EncryptMediaMetadata
}
[]
,
options
:
MediaTransferOptions
&
{
caption
?:
string
;
tags
?:
string
[]
[]
}
,
)
:
Promise
<
{
attachments
:
MediaAttachment
[]
;
intent
:
{
expectedParent
:
string
;
kind
:
"applicationMessage"
;
payload
:
Uint8Array
;
signal
?:
AbortSignal
;
}
;
rumor
:
Rumor
;
}
,
>
Upload all attachments and build one guarded kind-9 send intent. No MLS mutation.
Parameters
group
:
MarmotGroup
<
any
,
any
>
files
:
readonly
{
blob
:
Blob
;
metadata
:
EncryptMediaMetadata
}
[]
options
:
MediaTransferOptions
&
{
caption
?:
string
;
tags
?:
string
[]
[]
}
Returns
Promise
<
{
attachments
:
MediaAttachment
[]
;
intent
:
{
expectedParent
:
string
;
kind
:
"applicationMessage"
;
payload
:
Uint8Array
;
signal
?:
AbortSignal
;
}
;
rumor
:
Rumor
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Marmot-TS
Loading...
Upload all attachments and build one guarded kind-9 send intent. No MLS mutation.