Skip to content

Commit 00c774c

Browse files
authored
Update API.py
1 parent a06a4e7 commit 00c774c

File tree

1 file changed

+2
-1
lines changed
  • whatsapp_api_client_python

1 file changed

+2
-1
lines changed

whatsapp_api_client_python/API.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def _determine_host(self, idInstance: str) -> str:
8080
"5700": ("https://5700.api.green-api.com", "https://5700.media.green-api.com"),
8181
"7103": ("https://7103.api.greenapi.com", "https://7103.media.greenapi.com"),
8282
"7105": ("https://7105.api.greenapi.com", "https://7105.media.greenapi.com"),
83-
"7723": ("https://7700.api.greenapi.com", "https://7700.media.greenapi.com"),
83+
"7726": ("https://api.greenapi.com", "https://media.greenapi.com"),
84+
"77": ("https://7700.api.greenapi.com", "https://7700.media.greenapi.com"),
8485
"7": ("https://api.greenapi.com", "https://media.greenapi.com")
8586
}
8687
return next((url for key, url in mapping.items() if idInstance.startswith(key)), ("https://api.green-api.com", "https://media.green-api.com"))

0 commit comments

Comments
 (0)