Briyah SDK - v2.0.18
Briyah
npm
Preparing search index...
detectAttachmentMimeType
Function detectAttachmentMimeType
detectAttachmentMimeType
(
fileName
:
string
,
data
:
Uint8Array
)
:
string
The MIME type an attachment is sent as: its bytes' if they identify it, else its extension's.
Parameters
fileName
:
string
data
:
Uint8Array
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Briyah
npm
Briyah SDK - v2.0.18
Loading...
The MIME type an attachment is sent as: its bytes' if they identify it, else its extension's.