Valorant event for when a message is sent

Related Games: Valorant
Related app name: Valorant Chat Revamped (not made yet)

  • Feature Description: whenever a message appears in chat (be it all, whisper, party, team etc) the event fires
  • impact for my app: high.
  • What is your current pain point? as for now, i would need to use a while true loop, checking to see if a new message is sent, say, ever second. with this way, chat messages would update every second, but it would consume a lot of resources
  • What do you have in mind to solve it? the internal api endpoint{lockfileport}/chat/v6/messages can be used to get the messages from chat. the lockfileport refers to the 2nd number in the file %LocalAppData%\Riot Games\Riot Client\Config\lockfile (a file that is created when the game is launched and is deleted whenever it is closed)