Channel point redeem EventSub events are missing chat message ids

When someone uses a channel point redeem with a chat message associated with it, I want to be able to reply to that message. However, unless I’m blind, it seems the channel.channel_points_custom_reward_redemption.add EventSub message doesn’t include the chat message id. Is it really necessary to subscribe to receiving all chat messages just to find that message id? :person_shrugging:

Duplicate of post in discord.

This would be a feature request.

But not sure the message in question can be replied to (not tested myself but I know some TMI message ID’s cannot be replied to due to their type of message) have tested you can reply to custom reward chat messages, was thinking about subscriber messages here probably.

But, imo, the problem is that both the chat server and the eventsub server are side by side consumers of the data source, so eventsub can’t get the chat ID as it’s a parallel services. that run at the same time.

The chat server generates the chat ID at the same time as eventsub (.add type) is broadcasting the event.

As apposed to

user redeems -> chat server generates message (and an ID) -> eventsub of redeem.add -> send eventsub

its more like (I hope this aligns right)

user redeems -> chat server generates message (and an ID)
             -> eventsub of redeem.add -> send eventsub

I’ve had this thought as a while so finally posted a UV https://twitch.uservoice.com/forums/310213-developers/suggestions/49559744-anything-that-relates-to-or-generates-a-chat-messa

1 Like

Interestingly, that restriction doesn’t seem to apply in reverse as the chat.message event does include the related redemption ID. Therefore, if I want to take on the traffic of all chat messages, I wouldn’t need to subscribe to the text based redeems at all.

Anyway, thank you for confirming I wasn’t missing something. :slight_smile:

as the chat message is raised as a result of the redeem.

The data source is “redeem occured of id foo due to user bar for reward thing their user Input was theseWords” which then generates

  • a chat message.
  • a .add redeem

So the data source event as the redemption ID.
Which raises a .add event
And raises an (optional) chat message event to be drawn as a (optional) chat message is present. (and I mean optional as in reward settings not optional as in user left a blank chat message)

EventSub is just a repeater of “source events” basically.

And a chat message is a result of a source event occuring at the same time as a .add event being dispatched

1 Like