feat: add media view for contacts (#14393)

This commit is contained in:
Sivin Varghese
2026-06-15 15:42:11 +05:30
committed by GitHub
parent e5c140158e
commit 35bef21f83
21 changed files with 788 additions and 385 deletions
+6
View File
@@ -40,6 +40,12 @@ class ContactAPI extends ApiClient {
return axios.get(`${this.url}/${contactId}/conversations`, { params });
}
getAttachments(contactId, page = 1) {
return axios.get(`${this.url}/${contactId}/attachments`, {
params: { page },
});
}
getContactableInboxes(contactId) {
return axios.get(`${this.url}/${contactId}/contactable_inboxes`);
}