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

11,850

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.

Share:
11,850
SoheilYou
Author by

SoheilYou

Updated on June 12, 2022

Comments

  • SoheilYou
    SoheilYou almost 2 years

    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 ?

  • SoheilYou
    SoheilYou about 7 years
    I am not channels admin
  • Mohamed Sohail
    Mohamed Sohail about 7 years
    @soheilyo See edit above
  • SoheilYou
    SoheilYou about 7 years
    tnx , do you have any sample php code ?
  • Mohamed Sohail
    Mohamed Sohail about 7 years