From 04e0fc87fe66776ea6b796124954624fb0c21dce Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Thu, 29 Feb 2024 14:45:31 +0300 Subject: [PATCH] Fix parameter descriptions --- pyrogram/client.py | 2 +- pyrogram/types/messages_and_media/gift_code.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client.py b/pyrogram/client.py index dbdb1136..a95734d9 100644 --- a/pyrogram/client.py +++ b/pyrogram/client.py @@ -190,7 +190,7 @@ class Client(Methods): Pass an instance of your own implementation of session storage engine. Useful when you want to store your session in databases like Mongo, Redis, etc. - init_connection_params (:obj:`~raw.base.JSONValue`, *optional*): + init_connection_params (:obj:`~pyrogram.raw.base.JSONValue`, *optional*): Additional initConnection parameters. For now, only the tz_offset field is supported, for specifying timezone offset in seconds. """ diff --git a/pyrogram/types/messages_and_media/gift_code.py b/pyrogram/types/messages_and_media/gift_code.py index 01471d5f..2d32ced3 100644 --- a/pyrogram/types/messages_and_media/gift_code.py +++ b/pyrogram/types/messages_and_media/gift_code.py @@ -41,7 +41,7 @@ class GiftCode(Object): You can combine it with `t.me/giftcode/{slug}` to get link for this gift. - mention (``str``, *property*): + link (``str``, *property*): Generate a link to this gift code. """