Open CodersBrothers opened 10 years ago
sendClientConfig sends device capabilities (taken from WP client) https://github.com/venomous0x/WhatsAPI/blob/master/src/php/whatsprot.class.php#L603
and sendGetServerProperties gets the server properties (doh) e.g. max. group size, max file size, max image dimensions, socket timeout etc.
This is indeed a measure to try to prevent number blocking
And please don't discuss here what I'm doing on my own fork, those are two separate projects until I push my changes to this repository. :)
ok, so i will add to my code. Im trying have a 24/7 connected bot. By the moment its 30 hours online Sorry for comment this here :P Thanks.
I saw in your forked repo (https://github.com/shirioko/WhatsAPI/blob/master/src/php/bulk.php) that the login method have 2 more things:
Are necesaries for not block account? I never use in one week and my account its OK.
sendClientConfig not have docu that explain what are doing at underground.
(Where is the contacts file version? xDDD)