Add toUser to TikTokGiftEvent to determine the correct user receiving a gift!

Made grammar fix to collaboration.md and README.md!
This commit is contained in:
kohlerpop1
2023-12-18 16:52:40 -05:00
parent 15550ed703
commit c4f0d63b43
3 changed files with 11 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ Are you willing to help or improve TikTokLiveJava?
- Connecting to TikTok websocket (PushServer)
After successful connection to TikTok, `pushServer` starts to send `ProtocolBuffer`
messages in binary format. This is very important to understand `ProtocolBuffer. Don't worry it is not complicated :).
messages in binary format. This is very important to understand `ProtocolBuffer`. Don't worry it is not complicated :).
All the proto files are included under `API/src/main/proto` After using `Maven compile` command on project, java classes are generated from
those files. so then we can easily map incoming bytes to classes, for examples
`WebcastGiftMessage message = WebcastGiftMessage.parseFrom(incomingBytesArray)`
@@ -200,12 +200,4 @@ need to also include it to interface `EventsBuilder`
Finally we are good to go, our event has been included!
![image](https://github.com/jwdeveloper/TikTokLiveJava/assets/79764581/36ad6f1f-b38c-4cf7-93bd-b4cc0638cba0)
![image](https://github.com/jwdeveloper/TikTokLiveJava/assets/79764581/36ad6f1f-b38c-4cf7-93bd-b4cc0638cba0)