Twitch chat in-game implementation


I am trying to figure out how to integrate twitch chat into my game. Similar to the polls in Vermintide 2 and mechanics in Dead Cells. How would I go about doing this?

I assume I would first need to make an IRC and connect it with Twitch but would this need to be in C++ since UE4 is C++ or could I use a language like Python?