Title: AttributeError: module 'hydrogram.errors' has no attribute 'FloodPremiumWait' · Issue #60 · hydrogram/hydrogram · GitHub
Open Graph Title: AttributeError: module 'hydrogram.errors' has no attribute 'FloodPremiumWait' · Issue #60 · hydrogram/hydrogram
X Title: AttributeError: module 'hydrogram.errors' has no attribute 'FloodPremiumWait' · Issue #60 · 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/60
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: module 'hydrogram.errors' has no attribute 'FloodPremiumWait'","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\nWhen sending a sequence of videos to a chat, after some time this exception is returned to me.\n\n### Steps to reproduce\n\nJust send multiple videos in sequence until you are limited by the Telegram API.\n\n### Code example\n\n_No response_\n\n### Logs\n\n```shell\nFile \"C:\\Users\\kingr\\AppData\\Roaming\\uv\\tools\\tg-tools\\Lib\\site-packages\\hydrogram\\errors\\rpc_error.py\", line 98, in raise_it\r\n raise getattr(import_module(\"hydrogram.errors\"), exceptions[error_code][error_id])(\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAttributeError: module 'hydrogram.errors' has no attribute 'FloodPremiumWait'\r\nmodule 'hydrogram.errors' has no attribute 'FloodPremiumWait'\n```\n","author":{"url":"https://github.com/KingRotiv","@type":"Person","name":"KingRotiv"},"datePublished":"2025-01-12T13:51:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/60/hydrogram/issues/60"}
| 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:9b3343d9-d2c1-d72f-c569-992b1b91f244 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B77C:36E755:5B801:7B05F:6972ED92 |
| html-safe-nonce | 7bc5505cfbd872f35f8c70cce65771b92be96e6f3f7b258cfea383d1ac95a7d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzdDOjM2RTc1NTo1QjgwMTo3QjA1Rjo2OTcyRUQ5MiIsInZpc2l0b3JfaWQiOiI4MTcyNjYzNjY4OTY1ODMwMDM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5fd573baa9e5bdd2f5621606d2d8240c3162316bdd3a66d960ec42a62b79f22 |
| hovercard-subject-tag | issue:2782496928 |
| 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/60/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81d8217be5e13bbf1a1e4b870953e7f2ebcce0bdcc4b9ad3d2f28f833fe062e7/hydrogram/hydrogram/issues/60 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81d8217be5e13bbf1a1e4b870953e7f2ebcce0bdcc4b9ad3d2f28f833fe062e7/hydrogram/hydrogram/issues/60 |
| 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 | KingRotiv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| 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 | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width