How to get Telegram channels updates (posts) with api? [closed]
Asked Answered
M

1

9

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 ?

Montenegro answered 15/3, 2017 at 6:43 Comment(0)
O
7

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.

Olette answered 15/3, 2017 at 7:12 Comment(4)
I am not channels adminMontenegro
@soheilyo See edit aboveOlette
tnx , do you have any sample php code ?Montenegro
github.com/hbashton/BruhhBot-Madeline/blob/…Olette

© 2022 - 2024 — McMap. All rights reserved.