File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ Configuration
2929Having the API key from the previous step in handy, we can now begin to configure a Pyrogram project.
3030There are two ways to do so, and you can choose what fits better for you:
3131
32- - First option (recommended): create a new ``config.ini `` file at the root of your working directory , copy-paste the
33- following and replace the **api_id ** and **api_hash ** values with your own. This is the preferred method because
34- allows you to keep your credentials out of your code without having to deal with how to load them:
32+ - First option (recommended): create a new ``config.ini `` file next to your main script , copy-paste the following and
33+ replace the **api_id ** and **api_hash ** values with your own. This is the preferred method because allows you to
34+ keep your credentials out of your code without having to deal with how to load them:
3535
3636 .. code-block :: ini
3737
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class Client(Methods, BaseClient):
153153
154154 workdir (``str``, *optional*):
155155 Define a custom working directory. The working directory is the location in your filesystem
156- where Pyrogram will store your session files. Defaults to "." (current directory) .
156+ where Pyrogram will store your session files. Defaults to the parent directory of the main script .
157157
158158 config_file (``str``, *optional*):
159159 Path of the configuration file. Defaults to ./config.ini
You can’t perform that action at this time.
0 commit comments