mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added is_persistent to InlineKeyboardMarkup constructor
This commit is contained in:
parent
6e70371c14
commit
69c9ecb7e0
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class ReplyKeyboardMarkup(base.TelegramObject):
|
||||||
input_field_placeholder: base.String = None,
|
input_field_placeholder: base.String = None,
|
||||||
selective: base.Boolean = None,
|
selective: base.Boolean = None,
|
||||||
row_width: base.Integer = 3,
|
row_width: base.Integer = 3,
|
||||||
|
is_persistent: base.Boolean = None,
|
||||||
conf=None):
|
conf=None):
|
||||||
if conf is None:
|
if conf is None:
|
||||||
conf = {}
|
conf = {}
|
||||||
|
|
@ -47,6 +48,7 @@ class ReplyKeyboardMarkup(base.TelegramObject):
|
||||||
one_time_keyboard=one_time_keyboard,
|
one_time_keyboard=one_time_keyboard,
|
||||||
input_field_placeholder=input_field_placeholder,
|
input_field_placeholder=input_field_placeholder,
|
||||||
selective=selective,
|
selective=selective,
|
||||||
|
is_persistent=is_persistent,
|
||||||
conf={'row_width': row_width, **conf},
|
conf={'row_width': row_width, **conf},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue