@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
JapStickerPackOptions
Type Alias JapStickerPackOptions
type
JapStickerPackOptions
=
{
logger
?:
ILogger
;
mediaCache
?:
{
get
:
(
key
:
string
)
=>
Promise
<
Buffer
|
undefined
>
;
set
:
(
key
:
string
,
value
:
Buffer
)
=>
void
;
}
;
mediaUploadTimeoutMs
?:
number
;
options
?:
RequestInit
;
upload
:
(
filePath
:
string
,
opts
:
{
fileEncSha256B64
:
string
;
mediaType
:
string
;
timeoutMs
?:
number
}
,
)
=>
Promise
<
{
directPath
:
string
}
>
;
}
Index
Properties
logger?
media
Cache?
media
Upload
Timeout
Ms?
options?
upload
Properties
Optional
logger
logger
?:
ILogger
Optional
media
Cache
mediaCache
?:
{
get
:
(
key
:
string
)
=>
Promise
<
Buffer
|
undefined
>
;
set
:
(
key
:
string
,
value
:
Buffer
)
=>
void
;
}
Optional
media
Upload
Timeout
Ms
mediaUploadTimeoutMs
?:
number
Optional
options
options
?:
RequestInit
upload
upload
:
(
filePath
:
string
,
opts
:
{
fileEncSha256B64
:
string
;
mediaType
:
string
;
timeoutMs
?:
number
}
,
)
=>
Promise
<
{
directPath
:
string
}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
logger
media
Cache
media
Upload
Timeout
Ms
options
upload
GitHub
npm
@japofc/baileys - v2.4.7
Loading...