I'm trying to filter and resend a messages from Telegram News Channel(public) using PHP. I can set Webhook to listen own chats and channel by bot.
How I can set Webhook to listen specific channel. (I'm not admin of News Channel, so I can't to add my bot into it)
My Answer:
Unfortunately, you cannot set a webhook to listen to messages from a specific channel if you are not an admin of that channel. The only way to receive messages from a Telegram channel is to be a member of that channel and have the necessary permissions to access the messages.
If you are not an admin of the News Channel and cannot add your bot to it, you will not be able to receive messages from that channel using a webhook. However, you can still create a bot that listens to messages from your own chats and channels, and perform any necessary filtering and forwarding within those chats.
Alternatively, you can try reaching out to the admin of the News Channel and request permission to add your bot to the channel. This way, you will be able to receive messages from the channel and perform any necessary actions with them.
Rate this post
3 of 5 based on 9924 votesComments