Function getAllowedFileTypesByChannel

  • Name

    getAllowedFileTypesByChannel

    Description

    Builds the full "accept" string for , based on channel + medium rules.

    Returns

    Comma-separated list of allowed MIME types/extensions.

    Example

    getAllowedFileTypesByChannel({ channelType: INBOX_TYPES.WHATSAPP });
    "audio/aac, audio/amr, image/jpeg, image/png, video/3gp, ..."

    Parameters

    • params: GetChannelParams = {}

    Returns string

Generated using TypeDoc