3.0 Выпуск в PrimoRU
This commit is contained in:
@@ -5,6 +5,9 @@ from aiogram.types import ReplyKeyboardMarkup, KeyboardButton, KeyboardButtonPol
|
||||
from aiogram.utils.keyboard import ReplyKeyboardBuilder
|
||||
from typing import List, Union, Tuple, Optional, Dict, Any
|
||||
|
||||
# Настройка экспорта в модули
|
||||
__all__ = ("BaseReplyKeyboard",)
|
||||
|
||||
class BaseReplyKeyboard:
|
||||
def __init__(
|
||||
self,
|
||||
@@ -100,4 +103,4 @@ class BaseReplyKeyboard:
|
||||
buttons.append(KeyboardButton(text=button))
|
||||
rkb.row(*buttons)
|
||||
|
||||
return rkb.as_markup(resize_keyboard=self.resize_keyboard, one_time_keyboard=self.one_time_keyboard)
|
||||
return rkb.as_markup(resize_keyboard=self.resize_keyboard, one_time_keyboard=self.one_time_keyboard)
|
||||
|
||||
Reference in New Issue
Block a user