danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.8k stars 636 forks source link

How to read messages from public channel #1529

Closed shubaivan closed 3 weeks ago

shubaivan commented 1 month ago

Could someone please help me understand how to use that library to get all messages from public channels?

danog commented 1 month ago

Use the event handler: https://docs.madelineproto.xyz/docs/UPDATES.html