https://github.com/bipinkrish/save-restricted-bot
A Telegram Bot, Which can send you restricted content by it's post link
https://github.com/bipinkrish/save-restricted-bot
Last synced: about 2 months ago
JSON representation
A Telegram Bot, Which can send you restricted content by it's post link
- Host: GitHub
- URL: https://github.com/bipinkrish/save-restricted-bot
- Owner: bipinkrish
- Created: 2022-09-04T11:07:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-13T18:13:47.000Z (11 months ago)
- Last Synced: 2024-07-13T19:31:17.390Z (11 months ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 172
- Watchers: 6
- Forks: 360
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Save Restricted Bot
*A Telegram Bot, Which can send you restricted content by it's post link*
---
## Variables
- `HASH` Your API Hash from my.telegram.org
- `ID` Your API ID from my.telegram.org
- `TOKEN` Your bot token from @BotFather
- `STRING` Your session string, you can get it at [gist](https://gist.github.com/bipinkrish/0940b30ed66a5537ae1b5aaaee716897#file-main-py) and run it locally---
# Usage
__FOR PUBLIC CHATS__
_just send post/s link_
__FOR PRIVATE CHATS__
_first send invite link of the chat (unnecessary if the account of string session already member of the chat)
then send post/s link___FOR BOT CHATS__
_send link with '/b/', bot's username and message id, you might want to install some unofficial client to get the id like below_
```
https://t.me/b/botusername/4321
```__MULTI POSTS__
_send public/private posts link as explained above with formate "from - to" to send multiple messages like below_
```
https://t.me/xxxx/1001-1010https://t.me/c/xxxx/101 - 120
```_note that space in between doesn't matter_