Title: Reaction Count error · Issue #73 · hydrogram/hydrogram · GitHub
Open Graph Title: Reaction Count error · Issue #73 · hydrogram/hydrogram
X Title: Reaction Count error · Issue #73 · hydrogram/hydrogram
Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev....
Open Graph Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://git...
X Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https:/...
Opengraph URL: https://github.com/hydrogram/hydrogram/issues/73
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reaction Count error","articleBody":"### Checklist\n\n- [x] I am sure the error is coming from Hydrogram's code and not elsewhere\n- [x] I have searched in the issue tracker for similar bug reports, including closed ones\n- [x] I ran `pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zip` and reproduced the issue using the latest development version\n\n### Description\n\nunable to count reactions\n\n### Steps to reproduce\n\nit happens by it self when i message is recived\n\n### Code example\n\n```python\n\n```\n\n### Logs\n\n```shell\nTraceback (most recent call last):\n File \"/root/common/lib/python3.12/site-packages/hydrogram/dispatcher.py\", line 286, in _process_packet\n parsed_update, handler_type = await parsed_result\n ^^^^^^^^^^^^^^^^^^^\n File \"/root/common/lib/python3.12/site-packages/hydrogram/dispatcher.py\", line 150, in _edited_message_parser\n parsed, _ = await self._message_parser(update, users, chats)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/common/lib/python3.12/site-packages/hydrogram/dispatcher.py\", line 134, in _message_parser\n await hydrogram.types.Message._parse(\n File \"/root/common/lib/python3.12/site-packages/hydrogram/types/messages_and_media/message.py\", line 933, in _parse\n reactions = types.MessageReactions._parse(client, message.reactions)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/root/common/lib/python3.12/site-packages/hydrogram/types/messages_and_media/message_reactions.py\", line 56, in _parse\n types.Reaction._parse_count(client, reaction)\n File \"/root/common/lib/python3.12/site-packages/hydrogram/types/messages_and_media/reaction.py\", line 73, in _parse_count\n reaction.count = reaction_count.count\n ^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'count'\n```","author":{"url":"https://github.com/iiAmeer","@type":"Person","name":"iiAmeer"},"datePublished":"2026-01-02T19:01:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/73/hydrogram/issues/73"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e3d99b8b-90e0-d2dc-45ce-a7094fdb9141 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 975C:13F113:1A48429:23A2547:6972B98F |
| html-safe-nonce | ead12cd305dfc70ef5bc756008fd8e2f3e8cb3a77703e848cd68266cf0008c37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzVDOjEzRjExMzoxQTQ4NDI5OjIzQTI1NDc6Njk3MkI5OEYiLCJ2aXNpdG9yX2lkIjoiNjIyNTQ3OTAyNDg2MDM3OTUzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4d1b525be0fb395e38743609de797bb8af7ad28db6c3dd652f23d9de9d4ec616 |
| hovercard-subject-tag | issue:3777026980 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hydrogram/hydrogram/73/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3e419b6d1a90656856afb99df208d7c0e50c0e1ceada3b5ae385ae89fef7b3c1/hydrogram/hydrogram/issues/73 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e419b6d1a90656856afb99df208d7c0e50c0e1ceada3b5ae385ae89fef7b3c1/hydrogram/hydrogram/issues/73 |
| og:image:alt | Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://git... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iiAmeer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 51c0d0848f5569c6fa2198e9d69bd5f8f94a83c9fa3659e40728e7732afab130 |
| turbo-cache-control | no-preview |
| go-import | github.com/hydrogram/hydrogram git https://github.com/hydrogram/hydrogram.git |
| octolytics-dimension-user_id | 153278131 |
| octolytics-dimension-user_login | hydrogram |
| octolytics-dimension-repository_id | 711555265 |
| octolytics-dimension-repository_nwo | hydrogram/hydrogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 711555265 |
| octolytics-dimension-repository_network_root_nwo | hydrogram/hydrogram |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10c5e2f2307495b2750073db87e9a5d3356a924f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width