A bot runs your Telegram group: it recognizes every video that gets posted on its own and shares the catalog with the app of each person you give access to, whether or not they're in the group.
Your files, your responsibility. The Server serves what you put in it: your videos, public domain ones or ones you have the right to use, and only to the people you give access to.
01
What it is.
You post your videos in your Telegram group (or channel). The bot recognizes each one by its name or by a caption like #peli 603 or #serie 1399 T1E2 (the number is the TMDB one) and adds it to its catalog.
Each person you give an access pass to sees that catalog in PlayerStream, with title pages and posters, even if they're not in your group.
It also copies whole groups and topics from other places your account is in.
Are the people who'll watch already in your groups? Telegram · My groups may be all you need, with no bot.
Bots are part of the full Server (Lite doesn't include them) and must be activated with a PlayerStream account with Premium (1 bot) or Ultimate (up to 5), counting all the bots on your account. Without a license, the bot is paused (its data is kept) and carries on by itself as soon as it has one. See Pricing.
The bot lives on your PC (switched on) or on a VPS. You don't need to open any port.02
Create the bot.
In Telegram, search for @BotFather (the real one has the blue verified badge) and open it. Tap “Start” or send it /start.
Send it /newbot.
It asks you for a name (whatever you like) and then a username ending in bot (for example MisPelisBot).
It gives you a token: something like 123456789:AAH…. Copy the whole thing. It's your bot's key: don't share it.
Already have a bot? In @BotFather: /mybots → your bot → “API Token”. There's no need to touch its privacy (/setprivacy): since it'll be an admin of your group, it already sees everything that's posted.
03
Set it up in the Server.
Open Player Stream Server. Under “Where do you want your server?”, in “This PC”, choose “Telegram bot”. (For a VPS, see chapter 10.)
In “A Telegram bot on this PC”, tick “Start with Windows” if you want it to start on its own, and click “Create the bot”. Its dashboard opens, in the wizard.
Step 1, “The bot”: paste the token and click “Check”. You'll see “Your bot is @…”. Click “Continue”.
It activates by itself with the account you signed in to the program with (Premium or Ultimate). You'll see it in the dashboard menu, “Your PlayerStream account”; if it isn't active, click “Activate this bot with your account…” there.
The PC has to be on for the bot to work. In the “Your servers” list on the home screen you'll see your bot with “Open panel”, “Pause” and “Delete”.
04
Your group.
The bot has to be an admin of your group: that way it reads everything that's posted and can forward the videos to the app.
In Telegram, open your group → tap its name at the top → “Add Members” → search for your bot (@…) and add it.
Make it an admin: in the group, “Administrators” → “Add Admin” → your bot → save. The permissions that come ticked are enough; also leave “Delete Messages” on if you want to be able to remove things from the group from the dashboard. In a channel it's required.
In the Server, step 2 “Your group”: the group shows up on its own, in a few seconds, under “Groups @… is in”. Click “Check and use”.
If it doesn't, type /id in the group: the bot replies “This chat: -100…”. Paste that number into “Type the number manually” and click “Check”.
With everything green, click “Use this group”. If something shows up red, fix it and check again.
Don't turn on “Restrict saving content” in the group: otherwise the bot can't send the videos to the app.
The bot only records what the group's admins post (or the channel itself). Not what other members upload.
Later on you can add a “4K group” and a “Drawer” in “Configuration” (they're optional).
05
Your API ID and your API hash.
Each access pass carries your Telegram API ID and API hash: the app signs in to Telegram with them. If you haven't entered them yet, step 3 “Who uses it” asks for them right there (“Before creating access passes, enter your Telegram API ID and API hash”) and doesn't let you create access passes without them.
Get your API ID and API hash at my.telegram.org, as explained in Telegram · My groups. If you already have them, the same ones work.
In step 3, “Who uses it”, paste them into “API ID (number)” and “API hash” and click “Save”.
They are the same ones “Copy groups” uses: you set them once.
06
Who uses it.
Each person who's going to use the bot needs their own access pass. You too.
Step 3 of the wizard, “Who uses it” (also in the menu): in “New access pass”, type who it's for (“Ana”, “The living room”…) and click “Create”.
Click “Copy the line” (or “Copy the JSON”) and send it to them through a channel you trust. It only works once: the first time, it gets tied to their Telegram account.
In the app: Settings → Content → Addons → paste it into “Address, JSON or line” → “Add”.
In the app: Settings → Account → Connections → Telegram → “Connect Telegram”, with their own account.
In Settings → Content → Addons, under “Telegram bots”, tap “Refresh catalog” for your bot.
Want a row with just your bot? In your bot’s gear, “Create the Movies and Series catalogs” (or just the one you’re missing): it creates them with everything from all its channels together, each title once. Also in Settings → Content → Catalogs, in a catalog’s gear: “Source” → “Telegram bot”.
“Revoke” takes the bot away from them instantly. What's already in their app can't be deleted: if needed, create another app at my.telegram.org and change your API ID and hash.
07
Start it.
Step 4, “TMDB”: optional, but recommended. Paste your TMDB key and click “Check and save”; then “Continue” (or “Continue without TMDB”). If you tick the box to send the key to the app, everyone who uses the bot gets it.
Step 5, “Start”: click “Start the bot”.
From now on, every video posted in your group is recorded automatically: the bot reacts with a thumbs-up. If it's unsure, it sends it to “Review”.
It doesn't see what was posted before it started: for that, use “Copy groups” (or edit the caption of those messages).
If your group is a forum, name each topic with the title and the year, like “Dark (2017)”: whatever you post inside goes to that series even if the file only says the season and the episode (S01E04, 1x04).
To remove a video from the catalog, reply to it in the group with /borrar.
08
Review and Catalog.
“Review” holds what the bot couldn't recognize on its own. On each video:
“It's correct”: adds it to the catalog as the bot suggests.
“Search by name”: type the title and the year, and pick the right one.
“By ID”: paste the TMDB or IMDb number, or its link (for series, also the season and the episode).
“Discard”: it leaves the list and isn't added to the catalog. Nothing is deleted from Telegram.
“Catalog” holds everything the bot has added, with its poster. Search by title, a file name or the TMDB number.
“See files”: the videos of that movie or series.
“Change ID”: if it was recognized wrongly, move it to the right one on TMDB (search for it or paste its number). On a single file you can also change the season and the episode, or turn it from a movie into a series.
“Delete…”: removes it from the app, whole or a single file. On a file you can also tick deleting its message from the group.
What you delete doesn't come back on its own: to show it again, it has to be posted or copied again.
09
Copy other groups.
“Copy groups” menu → “Your Telegram account” section: sign in with your phone number → “Request the code” → the code you get in Telegram → “Sign in” (and your two-step verification password, if you have one).
Click “Add a group or topic to copy”.
“1. The group to copy from”: find it among your groups.
“2. The whole group or one topic?” (only in forums). With the whole group, untick the topics you don't want; “Untick the ones that don't look like a series” does it in one go.
“3. What's in there?”: “Movies” or “Series”. For series, also say how they're organized and, if it's just one, which one.
Choose which of your groups it goes to (“Your main group” or “The drawer”), click “Save” and then “Start”.
It's a person's account, not the bot's. It doesn't need to be an admin or be in your group: it just has to be in the groups you copy from. Don't block the bot from that account.
It doesn't copy everything at once: it makes a list. Each video is copied to your group the first time someone watches it, and stays there. New posts in those groups are added on their own. A group with “Restrict saving content” can't be copied.
10
On a VPS and deleting it.
On the home screen, in “A VPS, a dedicated server or a NAS”, choose “Telegram bot”.
If you don't have the VPS in the Server yet, click “Add a remote server” and follow the VPS mode guide up to secure access.
Click “Set up the bot here” on your VPS and then “Set up the bot”. Your account is used to check that your plan allows it.
The first time it takes a few minutes; then its dashboard opens, with the same wizard. When it's done, it activates by itself with your account.
On a VPS, your Telegram account's session lives only in memory: after a restart or an update, sign in again in “Copy groups” (keep your phone handy).
To delete the bot, use “Delete” in “Your servers”. The bot still exists in Telegram: if you're not going to use it anymore, delete it in @BotFather (/deletebot) or change its token (/revoke).
11
If something goes wrong.
“That doesn't look like a token” or “Telegram says that token isn't valid”: copy the whole thing again (/mybots → your bot → “API Token”).
“The bot can't see that group”: add it to the group as an admin and check again. The number is the one /id gives, and it starts with -100.
“It's not an admin and can't see what's posted”: make it an admin of the group.
“The group has ‘Restrict saving content’ on”: turn it off in the group's settings (Group Type).
“Before creating access passes, enter your Telegram API ID and API hash”: enter them right there, in the “Who uses it” step (chapter 5).
“This bot is paused because it has no license”: activate it in “Your PlayerStream account” with an account with Premium or Ultimate (or renew your plan). Its data is kept.
“Your account can't write to the bot”: unblock the bot in that account.