Provide a `gift_event_id` in the channel.subscribe topic
A viewer comes in and gifts 10 subs to the community; This fires off in theory 11 events. One event is the
channel.subscribe.gift, while the other 10 are the individual
channel.subscribe for the 10 users.
channel.subscribe.gift has an id associated with its emission. Something that would benefit reactionary data would be each of the individual
channel.subscribe events having a
gift_event_id. If the sub was a gift, set the id to the
channel.subscribe.gift event id.
- A developer could choose to listen to the batched gift amount and react to that single event, then omit the 10 linked events from the chain.
A developer could listen to the batched gift, and use the linked events as supplementary data for a visualizer
A developer could correctly match the subs gifted in a batch to the correct batch and handle them as they see fit. Some case scenarios of multiple users gifting subs at once currently cause problems with the guestimations that you currently must do when assuming who gave who a sub.
Any developer not needing this info wouldn't be affected, nor would this be a breaking change.
We are looking into this. Thanks for the request!