> For the complete documentation index, see [llms.txt](https://levina.gitbook.io/videostreambot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://levina.gitbook.io/videostreambot/deployment/string-session.md).

# String Session

You'll need a API\_ID and API\_HASH in order to generate pyrogram session. Always remember to use good API combo else your account could be deleted.

Generate the Session String from the assistant account not your main account !

<details>

<summary>How to get API_ID and API_HASH ?</summary>

* Go to [my.telegram.org](https://my.telegram.org/) then Enter your Phone Number with your country code.
* After, you are logged in click on [API Development Tools](https://my.telegram.org/apps).
* Enter Anything as App name and App short name, Enter my.telegram.org in url section
* That’s it, You”ll get your **API\_ID** & **API\_HASH**

</details>

### Generate Session trough Repl.it

[![GENERATE ON REPL](https://img.shields.io/badge/Generate%20On%20Repl-blueviolet?style=for-the-badge\&logo=appveyor)](https://replit.com/@levinalab/Session-Generator?lite=1\&outputonly=1#main.py)
