Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
optional client name
  • Loading branch information
fgallaire committed Jan 14, 2023
commit b5d7bc219748d32cf6c3e0eedb87337ba8465b24
4 changes: 2 additions & 2 deletions pyrogram/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Client(Methods):
"""Pyrogram Client, the main means for interacting with Telegram.

Parameters:
name (``str``):
name (``str``, *optional*):
A name for the client, e.g.: "my_account".

api_id (``int`` | ``str``, *optional*):
Expand Down Expand Up @@ -201,7 +201,7 @@ class Client(Methods):

def __init__(
self,
name: str,
name: str = "client",
api_id: Union[int, str] = None,
api_hash: str = None,
app_version: str = APP_VERSION,
Expand Down