chore: Provider API prototype (#3112)

Enabling Support for Whatsapp via 360Dialog as a prototype for the provider APIs. 

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose 2021-10-05 23:35:06 +05:30 committed by GitHub
parent 40d0b2faf3
commit bd7aeba484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 506 additions and 60 deletions

View file

@ -16,6 +16,9 @@ export const getInboxClassByType = (type, phoneNumber) => {
? 'ion-social-whatsapp-outline'
: 'ion-android-textsms';
case INBOX_TYPES.WHATSAPP:
return 'ion-social-whatsapp-outline';
case INBOX_TYPES.API:
return 'ion-cloud';