tomer8007 / kik-bot-api-unofficial

Python API for writing unoffical Kik bots that act like humans
MIT License
126 stars 76 forks source link

Add new user_type field #255

Closed bluemods closed 4 months ago

bluemods commented 4 months ago

Adds new user type field for profile lookups.

The new protobuf fields were extracted from the Kik IPA, first appearing in version 16.15.0.18290

.proto file regeneration is not included in this PR because I'm not sure what protoc version you are using, so I would prefer that you regenerated them.

tomer8007 commented 4 months ago

Thanks.

.proto file regeneration is not included in this PR because I'm not sure what protoc version you are using

I have protoc version 3.21.1 installed, and protobuf version 4.24.4. Also see 090fa258353dccbf2bb0db8012295124aaeb4112 and compile_protobuf.sh. Would you mind compiling the protobuf files and making sure the feature still seems to work?

bluemods commented 4 months ago

Ok I regenerated the ones that changed and it works correctly, tested by requesting an aliased user and inspecting the dict returned in on_xiphias_get_users_response