From 69c9ecb7e01c25df4052b8d7c576ef87f59943eb Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sat, 31 Dec 2022 01:15:19 +0200 Subject: [PATCH] Added is_persistent to InlineKeyboardMarkup constructor --- aiogram/types/reply_keyboard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aiogram/types/reply_keyboard.py b/aiogram/types/reply_keyboard.py index c4b70480..5a28f3f4 100644 --- a/aiogram/types/reply_keyboard.py +++ b/aiogram/types/reply_keyboard.py @@ -38,6 +38,7 @@ class ReplyKeyboardMarkup(base.TelegramObject): input_field_placeholder: base.String = None, selective: base.Boolean = None, row_width: base.Integer = 3, + is_persistent: base.Boolean = None, conf=None): if conf is None: conf = {} @@ -47,6 +48,7 @@ class ReplyKeyboardMarkup(base.TelegramObject): one_time_keyboard=one_time_keyboard, input_field_placeholder=input_field_placeholder, selective=selective, + is_persistent=is_persistent, conf={'row_width': row_width, **conf}, )