With this script, you are able to search any public channel in Telegram messenger.
1- First of all , singup in Telegram.
2- Then you have to generate an app_id & app_hash from this page.
3- Put the generated app_id & app_hash in
index.php instead of xxx_ID_xxx & xxx_HASH_xxx
4- Upload
index.php to your host and run it.
5- First enter the Telegram account(userbot) number and then the login code.
6- Your web service is ready to use.
| Name | Type | Description | Required |
|---|---|---|---|
| peer | string | user/channel/group username or link (Private links are not supported) | ✅ |
| type | string | can be search or info (search type need q parameter to search a query. | ✅ |
| q | string | The word(s) that you want to search them in a channel (use it only when you put 'search' for type parameter. | ❌ |