Marmot-TS
Preparing search index...
@internet-privacy/marmot-ts
downloadMessageMedia
Function downloadMessageMedia
downloadMessageMedia
(
group
:
MarmotGroup
<
any
,
any
>
,
tags
:
string
[]
[]
,
sourceParent
:
string
,
options
:
MediaTransferOptions
,
)
:
Promise
<
(
|
{
attachment
:
MediaAttachment
;
data
:
Uint8Array
;
error
?:
undefined
;
status
:
"ready"
;
}
|
{
attachment
:
MediaAttachment
;
error
:
unknown
;
status
:
"unavailable"
}
)
[]
,
>
Attachment failures are local; callers retain the original caption and tags.
Parameters
group
:
MarmotGroup
<
any
,
any
>
tags
:
string
[]
[]
sourceParent
:
string
options
:
MediaTransferOptions
Returns
Promise
<
(
|
{
attachment
:
MediaAttachment
;
data
:
Uint8Array
;
error
?:
undefined
;
status
:
"ready"
;
}
|
{
attachment
:
MediaAttachment
;
error
:
unknown
;
status
:
"unavailable"
}
)
[]
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Marmot-TS
Loading...
Attachment failures are local; callers retain the original caption and tags.