PlayerStream
EN
Ko-fi

Guides / Player Stream Server / Telegram · My groups

Your own server

Telegram · My groups.

The Telegram groups (or topics) you're already in, as a library with title pages. The Server reads them with your account, with no bot and without posting anything.

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.

  • The Server signs in with a person's account (yours or a secondary one) that's in the groups, and reads them: what's there and what each video contains. It doesn't post anything and doesn't need to be an admin.
  • Whoever watches this library in the app signs in with their own Telegram account and has to be in those groups: their app downloads the video, it doesn't go through your Server.
  • Is it for people who aren't in the groups? Then what you need is a bot: see Telegram bots.

You need the full Server, activated with a PlayerStream account with Premium or Ultimate (in its dashboard, under “Your PlayerStream account”). Telegram libraries don't count toward your plan's number of libraries. See Pricing.

Your Server reads your Telegram groups and gives the list to the app; the app downloads the video from Telegram with each person's account Your groups Telegram Your Server the list PlayerStream their account the video
The Server makes the list with title pages; each person watches the video with their own account.
02

Your API ID and your API hash.

Telegram requires every program that signs in with a person's account to have its own “Telegram app”. It's free and done once: it works for all your Telegram libraries and for your bots.

  1. Go to my.telegram.org with your account's phone number, with its country code (like +34600000000). The code arrives in the Telegram app, not by SMS.
  2. Click “API development tools”.
  3. Fill in the form: “App title” (for example Player Stream), “Short name” (5 to 32 letters and numbers, no spaces: playerstream), leave “URL” empty and in “Platform” choose “Desktop”. Click “Create application”.
  4. Copy “App api_id” (a number) and “App api_hash” (32 letters and numbers).

They're yours: don't publish them. Telegram blocks the ones that become public. The apps of anyone with an access pass to your library receive them, to sign in to Telegram with them. Each phone number has only one app: if you already created it, use the same one.

If you get “ERROR” when creating the app, try another “Short name”, turn off your VPN or blockers, or try from another browser or from your phone.

03

Create the library and sign in.

  1. In the Server's dashboard, click “Add” (the last tab at the top) and choose the “Telegram · My groups” card.
  2. Type the name it'll have in the app (for example, “Home movies”) and click “Save and continue →”.
  3. In the “Connect Telegram” step, in “Your API ID and your API hash”, paste both (“API ID (number)” and “API hash”) and click “Save”.
  4. In “Sign in with your Telegram account”, type your phone number with its country code (like +34 600 000 000) and click “Request the code”.
  5. The code arrives in Telegram, on another device where you're already signed in. Type it and click “Sign in”.
  6. If your account has two-step verification, type its password and click “Sign in”. The Server moves on to the next step on its own.
  • On a PC, the session is stored encrypted on it.
  • On a VPS, the session isn't stored on disk: it lives only in memory. If the VPS restarts or updates, sign in again (what's been identified stays). Keep your phone handy for the code.
04

Choose the groups.

  1. “TMDB key”: paste your key and click “Check”; or, if you already have it in the app, enter your PlayerStream username and password and click “Use the one in my account”. It's free and required: the title pages come from there. Then click “Next →”.
  2. In “Folders”, click “+ Add folder” and choose “Movies” or “Series”.
  3. In the folder browser, the first folder is called “Telegram” and your groups are inside it (forums have “(forum)”); at the top it says “Choose a group (or, in a forum, one of its topics)”. Go into a group and click “Choose this folder” for the whole group.
  4. In a forum, go into it and then into a topic to choose just that topic.
  5. Repeat with each group or topic and click “Scan”.

Inside a group without topics you'll see “There are no folders inside this one.”: that's normal, click “Choose this folder” anyway.

05

See it in the app.

  1. In the Server's dashboard, in “Access passes”, create one for each person and give them their code.
  2. In the app: Settings → Content → Addons → paste it into “Address, JSON or line” → “Add”.
  3. In the app: Settings → Account → Connections → Telegram → “Connect Telegram”, with their number and the code (or with the QR code). It's their own account, and it has to be in those groups.

The app's Telegram session belongs to each device: you connect once on each one.

06

If something goes wrong.

  • “Telegram doesn't recognize that API ID with that API hash”: copy them again from my.telegram.org (“API development tools”).
  • “Telegram has blocked that API ID for being used publicly”: create another app at my.telegram.org and enter its API ID and hash (“Change the API ID and hash”).
  • “Type the phone number with its country code”: like +34 600 000 000.
  • “That's not the code” or “The code has expired”: check it again or click “Other phone” and request another one.
  • “Telegram is asking to wait…”: you've tried too many times in a row; wait that long.
  • A group doesn't show up in the list: the account you signed in with isn't in it.