Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Telegram channel not found #3

Open
zzbmrzz opened this issue Sep 3, 2024 · 4 comments
Open

Telegram channel not found #3

zzbmrzz opened this issue Sep 3, 2024 · 4 comments

Comments

@zzbmrzz
Copy link

zzbmrzz commented Sep 3, 2024

Getting a no channels found error but I am positive the channel id is correct. The bot can find the channel name although as noted its not recommended and Im not sure what I am doing wrong. Does this only work on channels I own?

I found the channel id by using the jsondumpbot and I added the -10012345678 to the config file under channel_ids: and made sure the flag is set to true. and the name is set to false. yet still getting the error message.

@cheat-r
Copy link
Owner

cheat-r commented Sep 27, 2024

i think you shouldn't add the minus sign, why have you added it in the first place

@zzbmrzz
Copy link
Author

zzbmrzz commented Sep 27, 2024

the -100 indicates its a private channel. I wound up getting it working but the code struggled to take the channel id.

@cheat-r
Copy link
Owner

cheat-r commented Sep 27, 2024

ohhh i get it, you should use ids from telegram api, not bot api
hm, thought that i mentioned it somewhere (yea, in "you're using channel names" warning, need to duplicate that in config)

@zzbmrzz
Copy link
Author

zzbmrzz commented Sep 27, 2024

Not sure what you mean, im using the telegram api ids in the config file. however, where I set the telegram channel id's the code could not find the channel id with a -100.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants