diff --git a/Session-Files.md b/Session-Files.md new file mode 100644 index 0000000..7440c14 --- /dev/null +++ b/Session-Files.md @@ -0,0 +1,5 @@ +The first parameter you pass the the constructor of the `TelegramClient` is the `session`, and defaults to be the session name (or full path). That is, if you create a `TelegramClient('anon')` instance and connect, an `anon.session` file will be created on the working directory. + +These sessions contain the required information to talk to the Telegram servers, such as to which IP the client should connect, port, authorization key so that messages can be encrypted, and so on. + +These files will by default also save all the input entities that you've seen (**WIP**). \ No newline at end of file