feat(business): change profile/cover photo and manage quick replies (#1724)

This commit is contained in:
vini
2025-09-07 08:08:26 -03:00
committed by GitHub
parent 084761dc31
commit 50fc83b008
8 changed files with 217 additions and 8 deletions
+4 -2
View File
@@ -79,7 +79,8 @@ export const MEDIA_PATH_MAP: { [T in MediaType]?: string } = {
'thumbnail-link': '/mms/image',
'product-catalog-image': '/product/image',
'md-app-state': '',
'md-msg-hist': '/mms/md-app-state'
'md-msg-hist': '/mms/md-app-state',
'biz-cover-photo': '/pps/biz-cover-photo'
}
export const MEDIA_HKDF_KEY_MAPPING = {
@@ -100,7 +101,8 @@ export const MEDIA_HKDF_KEY_MAPPING = {
'md-app-state': 'App State',
'product-catalog-image': '',
'payment-bg-image': 'Payment Background',
ptv: 'Video'
ptv: 'Video',
'biz-cover-photo': 'Image'
}
export const MEDIA_KEYS = Object.keys(MEDIA_PATH_MAP) as MediaType[]