feat: Add support for attachments(image and video) in LINE channel (#8425)

This commit is contained in:
Muhsin Keloth
2023-12-01 07:23:35 +05:30
committed by GitHub
parent 0974b1e705
commit fdc1123b18
5 changed files with 96 additions and 2 deletions

View File

@@ -55,6 +55,8 @@ export const ALLOWED_FILE_TYPES_FOR_TWILIO_WHATSAPP =
'audio/mpeg, audio/opus, audio/ogg, audio/amr,' +
'video/mp4,' +
'application/pdf,';
// https://developers.line.biz/en/reference/messaging-api/#image-message, https://developers.line.biz/en/reference/messaging-api/#video-message
export const ALLOWED_FILE_TYPES_FOR_LINE = 'image/png, image/jpeg,video/mp4';
export const CSAT_RATINGS = [
{