We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a06a4e7 commit 00c774cCopy full SHA for 00c774c
1 file changed
whatsapp_api_client_python/API.py
@@ -80,7 +80,8 @@ def _determine_host(self, idInstance: str) -> str:
80
"5700": ("https://5700.api.green-api.com", "https://5700.media.green-api.com"),
81
"7103": ("https://7103.api.greenapi.com", "https://7103.media.greenapi.com"),
82
"7105": ("https://7105.api.greenapi.com", "https://7105.media.greenapi.com"),
83
- "7723": ("https://7700.api.greenapi.com", "https://7700.media.greenapi.com"),
+ "7726": ("https://api.greenapi.com", "https://media.greenapi.com"),
84
+ "77": ("https://7700.api.greenapi.com", "https://7700.media.greenapi.com"),
85
"7": ("https://api.greenapi.com", "https://media.greenapi.com")
86
}
87
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