diff --git a/telebot/__init__.py b/telebot/__init__.py index bb33f55b5..51eb63d4a 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -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` diff --git a/telebot/async_telebot.py b/telebot/async_telebot.py index 7f50b1c86..0e298ace7 100644 --- a/telebot/async_telebot.py +++ b/telebot/async_telebot.py @@ -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`