mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 08:49:40 -05:00
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:
@@ -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!
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||

|
||||
Reference in New Issue
Block a user