mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Automatic audio duration fetch
This commit is contained in:
@@ -333,6 +333,8 @@ export interface MessageOptions {
|
||||
uploadAgent?: Agent
|
||||
/** If set to true (default), automatically detects if you're sending a link & attaches the preview*/
|
||||
detectLinks?: boolean
|
||||
/** Optionally specify the duration of the media (audio/video) in seconds */
|
||||
duration?: number
|
||||
/** Fetches new media options for every media file */
|
||||
forceNewMediaOptions?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user