Title: error caused by channels.GetChannels · Issue #29 · PyrogramMod/PyrogramMod · GitHub
Open Graph Title: error caused by channels.GetChannels · Issue #29 · PyrogramMod/PyrogramMod
X Title: error caused by channels.GetChannels · Issue #29 · PyrogramMod/PyrogramMod
Description: Checklist I am sure the error is coming from Pyrogram'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/pyrogram/pyrogram/archive/master....
Open Graph Description: Checklist I am sure the error is coming from Pyrogram'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://gith...
X Description: Checklist I am sure the error is coming from Pyrogram'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/PyrogramMod/PyrogramMod/issues/29
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error caused by channels.GetChannels","articleBody":"### Checklist\n\n- [X] I am sure the error is coming from Pyrogram'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/pyrogram/pyrogram/archive/master.zip` and reproduced the issue using the latest development version\n\n### Description\n\nreturn get_validated_options(opts, warn)\r\n[14-Sep-24 18:57:27 - WARNING] - bot - Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by \"channels.GetChannels\")\r\n[14-Sep-24 18:57:27 - WARNING] - bot - Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value -1001978150466\r\n\r\ni am experincing this issue\r\n\r\nit just work with old channels i mean around 5 year old, i was making file-store-bot ( codxbotz) it was working great . but i got this issue when i was deploying new bot \r\ni made bot admin with every permission , channel id is correct and everything is fine it was working days ago but now\r\n\r\nIt just doesn't work .\r\nThe channel is private and bot has every single permission 🙄. I checked the the channel id hundred times and everything is okey but it doesn't work.\r\n\r\nAnd it's only showing with the pyrogram , I've checked the PTB and that was working fine with Channels.GetChannels\r\n\r\n\n\n### Steps to reproduce\n\ni am not coder , i was deploying codxbotz file-share-bot . just go with it and you will face the same issue that everyone facing \r\n\n\n### Code example\n\n_No response_\n\n### Logs\n\n```shell\nreturn get_validated_options(opts, warn)\r\n[14-Sep-24 18:57:27 - WARNING] - bot - Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by \"channels.GetChannels\")\r\n[14-Sep-24 18:57:27 - WARNING] - bot - Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value -1001978150466\n```\n","author":{"url":"https://github.com/onekayyum","@type":"Person","name":"onekayyum"},"datePublished":"2024-09-20T05:31:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/29/PyrogramMod/issues/29"}
| 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:6ae4fbd2-4fd3-bfc9-ea53-825db3ca853b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D118:321565:1B799E3:2663939:6972809B |
| html-safe-nonce | 17900db20b0e38c83bfb13b5c7713e586163486390a29cb4694d58a44caae4f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTE4OjMyMTU2NToxQjc5OUUzOjI2NjM5Mzk6Njk3MjgwOUIiLCJ2aXNpdG9yX2lkIjoiOTAxMDYwMjU0MTM1MDgxMzg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f1b3018e6b7cb6eddd9546b79a80916a3d69df76081e7a001ebc6e0d1967537 |
| hovercard-subject-tag | issue:2537910341 |
| 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/PyrogramMod/PyrogramMod/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5cfc6340df01dec01cf4c3cf3dad140b05455ec7cf6b898c81a9777371baba92/PyrogramMod/PyrogramMod/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5cfc6340df01dec01cf4c3cf3dad140b05455ec7cf6b898c81a9777371baba92/PyrogramMod/PyrogramMod/issues/29 |
| og:image:alt | Checklist I am sure the error is coming from Pyrogram'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://gith... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | onekayyum |
| hostname | github.com |
| expected-hostname | github.com |
| None | f3cc591a09ecfa43f68be4fde9ec95eccfdf6298db2cd7d08e9eae6c9f833329 |
| turbo-cache-control | no-preview |
| go-import | github.com/PyrogramMod/PyrogramMod git https://github.com/PyrogramMod/PyrogramMod.git |
| octolytics-dimension-user_id | 145343079 |
| octolytics-dimension-user_login | PyrogramMod |
| octolytics-dimension-repository_id | 435451689 |
| octolytics-dimension-repository_nwo | PyrogramMod/PyrogramMod |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 435451689 |
| octolytics-dimension-repository_network_root_nwo | PyrogramMod/PyrogramMod |
| 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 | 208d56d4b5936bcb8a1d3b43096d573261817603 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width