Briyah SDK - v2.0.18
    Preparing search index...

    Function detectAttachmentMimeType

    • 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