Skip to content

Commit

Permalink
Fixed typo in method params
Browse files Browse the repository at this point in the history
  • Loading branch information
fregire committed Dec 10, 2024
1 parent 3987372 commit 4cc438a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion telebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5474,7 +5474,7 @@ def create_invoice_link(self,
(e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
:type prices: :obj:`list` of :obj:`types.LabeledPrice`
:subscription_period: The number of seconds the subscription will be active for before the next payment.
:param subscription_period: The number of seconds the subscription will be active for before the next payment.
The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always
be 2592000 (30 days) if specified.
:type subscription_period: :obj:`int`
Expand Down
2 changes: 1 addition & 1 deletion telebot/async_telebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6922,7 +6922,7 @@ async def create_invoice_link(self,
(e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
:type prices: :obj:`list` of :obj:`types.LabeledPrice`
:subscription_period: The number of seconds the subscription will be active for before the next payment.
:param subscription_period: The number of seconds the subscription will be active for before the next payment.
The currency must be set to “XTR” (Telegram Stars) if the parameter is used. Currently, it must always
be 2592000 (30 days) if specified.
:type subscription_period: :obj:`int`
Expand Down

0 comments on commit 4cc438a

Please sign in to comment.