Function getMaxUploadSizeByChannel

  • Name

    getMaxUploadSizeByChannel

    Description

    Gets the maximum allowed file size (in MB) for a channel, medium, and MIME type.

    Priority:

    • Category-specific size (image/video/audio/document).
    • Channel/medium-level max.
    • Global default max.

    Returns

    Maximum file size in MB.

    Example

    getMaxUploadSizeByChannel({ channelType: INBOX_TYPES.WHATSAPP, mime: "image/png" });
    5

    Parameters

    • params: GetMaxUploadParams = {}

    Returns number

Generated using TypeDoc