telegram_libs 0.1.32__py3-none-any.whl → 0.1.34__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- telegram_libs/utils.py +3 -3
- {telegram_libs-0.1.32.dist-info → telegram_libs-0.1.34.dist-info}/METADATA +1 -1
- {telegram_libs-0.1.32.dist-info → telegram_libs-0.1.34.dist-info}/RECORD +5 -5
- {telegram_libs-0.1.32.dist-info → telegram_libs-0.1.34.dist-info}/LICENSE +0 -0
- {telegram_libs-0.1.32.dist-info → telegram_libs-0.1.34.dist-info}/WHEEL +0 -0
telegram_libs/utils.py
CHANGED
@@ -32,7 +32,7 @@ async def get_subscription_keyboard(update: Update, lang: str) -> InlineKeyboard
|
|
32
32
|
await update.message.reply_text(
|
33
33
|
t("subscription.info", lang, common=True).format(BOTS_AMOUNT - 1)
|
34
34
|
)
|
35
|
-
return [
|
35
|
+
return InlineKeyboardMarkup([
|
36
36
|
[
|
37
37
|
InlineKeyboardButton(
|
38
38
|
t("subscription.plans.1month", lang, common=True), callback_data="sub_1month"
|
@@ -46,7 +46,7 @@ async def get_subscription_keyboard(update: Update, lang: str) -> InlineKeyboard
|
|
46
46
|
t("subscription.plans.1year", lang, common=True), callback_data="sub_1year"
|
47
47
|
),
|
48
48
|
],
|
49
|
-
]
|
49
|
+
])
|
50
50
|
|
51
51
|
|
52
52
|
async def more_bots_list_command(update: Update, context: ContextTypes.DEFAULT_TYPE, bot_logger: BotLogger) -> None:
|
@@ -112,7 +112,7 @@ class RateLimitManager:
|
|
112
112
|
lang = self.mongo_manager.get_user_info(update).get("lang")
|
113
113
|
message = t("rate_limit.exceeded", lang, common=True)
|
114
114
|
await update.message.reply_text(message)
|
115
|
-
reply_markup = get_subscription_keyboard(update, lang)
|
115
|
+
reply_markup = await get_subscription_keyboard(update, lang)
|
116
116
|
await update.message.reply_text(
|
117
117
|
t("subscription.choose_plan", lang, common=True), reply_markup=reply_markup
|
118
118
|
)
|
@@ -10,8 +10,8 @@ telegram_libs/payment.py,sha256=cNb2vnBlYI_6KnTGz-PCM0uKahW2uGjHVn1mGYlYG-4,3564
|
|
10
10
|
telegram_libs/subscription.py,sha256=NJlh1kcDfasX1XLpkVfe1UbZslpWSC1hXHaum0kfG8A,4693
|
11
11
|
telegram_libs/support.py,sha256=a3BA7g3seVBUMasv65SzxebLayLigA069wvDcStYbCM,2748
|
12
12
|
telegram_libs/translation.py,sha256=8Kb2cgqKKZH4X_i2Le0V_K1imZdoaCzYAca831DOBig,2049
|
13
|
-
telegram_libs/utils.py,sha256=
|
14
|
-
telegram_libs-0.1.
|
15
|
-
telegram_libs-0.1.
|
16
|
-
telegram_libs-0.1.
|
17
|
-
telegram_libs-0.1.
|
13
|
+
telegram_libs/utils.py,sha256=Q6bOmq0myLkxL2T54XCokWAfnfvHZTR531RHw1CmyEw,4930
|
14
|
+
telegram_libs-0.1.34.dist-info/LICENSE,sha256=ZXkWPZbCc61L29Gz6ZHPwn1c4Pm0TnfIqtx8jGWi9F4,1069
|
15
|
+
telegram_libs-0.1.34.dist-info/METADATA,sha256=42k_JwsDCIRzly2GG651UoUkdU-e0cliYQq23NfxI-8,804
|
16
|
+
telegram_libs-0.1.34.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
17
|
+
telegram_libs-0.1.34.dist-info/RECORD,,
|
File without changes
|
File without changes
|