Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 ?

like image 317
soheil yo Avatar asked Mar 15 '17 06:03

soheil yo


People also ask

What can I do with Telegram API?

Telegram APIs This is the API used by Telegram apps for all your actions on Telegram. To name a few: viewing your chats, sending and receiving messages, changing your display picture or creating new groups. Through the Telegram API you can do anything you can do in a Telegram app programatically.

Does Telegram have an open API?

Telegram API This API allows you to build your own customized Telegram clients. It is 100% open for all developers who wish to create Telegram applications on our platform.


1 Answers

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.

like image 128
Mohamed Sohail Avatar answered Oct 11 '22 02:10

Mohamed Sohail