Skip to content

Commit 758da16

Browse files
authored
Merge pull request #2435 from fregire/fix/params_typo
Fixed "subscription_period" docstring
2 parents 3987372 + 4cc438a commit 758da16

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

telebot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5474,7 +5474,7 @@ def create_invoice_link(self,
54745474
(e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
54755475
:type prices: :obj:`list` of :obj:`types.LabeledPrice`
54765476
5477-
:subscription_period: The number of seconds the subscription will be active for before the next payment.
5477+
:param subscription_period: The number of seconds the subscription will be active for before the next payment.
54785478
The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always
54795479
be 2592000 (30 days) if specified.
54805480
:type subscription_period: :obj:`int`

telebot/async_telebot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6922,7 +6922,7 @@ async def create_invoice_link(self,
69226922
(e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
69236923
:type prices: :obj:`list` of :obj:`types.LabeledPrice`
69246924
6925-
:subscription_period: The number of seconds the subscription will be active for before the next payment.
6925+
:param subscription_period: The number of seconds the subscription will be active for before the next payment.
69266926
The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always
69276927
be 2592000 (30 days) if specified.
69286928
:type subscription_period: :obj:`int`

0 commit comments

Comments
 (0)