How to get Telegram channels updates (posts) with api?

soheil yo picture soheil yo · Mar 15, 2017 · Viewed 11.1k times · Source

I want to get Telegram channels updates (posts) with api by php! (I am not channels admin)

I am not sure can I do this with bot or not?

if it is not possible how can do that with telegram api ?

Answer

Mohamed Sohail picture Mohamed Sohail · Mar 15, 2017

Yes, If your bot is an administrator of the channel you can listen for channel_post updates.

If it is not an administrator, you will have to use the Telegram Core API. See this library.