Generally speaking, channel points can be interacted with using TMI.js
TMI.js is a library for chat interface
And most channel point rewards don’t relay a message to chat that can be consumed.
Both EventSub (EventSub | Twitch Developers) and PubSub (PubSub | Twitch Developers) can be used to monitor custom reward redemptions in real time.
Chat can be used for Redemptions that allow the user to leave a chat message/enter custom text
You can also consume Redemtpions via the API.
The API is used to manage/create/update rewards and manage redemtpions starting here Reference | Twitch Developers
So in a nutshell you need to expand beyond TMI.js to interact with Channel Points