Skip to content

Commit 4cc438a

Browse files
committed
Fixed typo in method params
1 parent 3987372 commit 4cc438a

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)