Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
Accessing count reactions from a channel fetched, [navigate in map elements]

I'm trying to develop a bot to help my community. Let's say at a certain point of time I need to examine all messages sent in a channel, and "choose the best one". Let's say I will examine each message and give kind of "notation", then I want to return the name of the author and the notation I gave.

[Edit 1] Thanks to the community, I did advance in my quest ! I am now able to fetch the different messages!! And I geta map/Collection from the channel. I am now also able to get the content or author as it is some quite simple "properties" of the "object".

Where I am blocked is when I need to get the reactions, from what I see there is a ReactionManager, So I'm doing tryings&errors but without able to find my way in the structure... (see the partial structure I can watch attached)

To make it short, let's take a simplified case: is there any one who would get the right coding to :

  • get the property "count" on the let say reactions1 of a certain message where I have the ID from the structure? I suppose I need maybe two or three cascaded arrow functions ? I can't find a way to do them properly.

Any tips, help, idea would be so great ! enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!