diff --git a/pyrogram/client/filters/filters.py b/pyrogram/client/filters/filters.py index 4c6f0ce3..8f5b9164 100644 --- a/pyrogram/client/filters/filters.py +++ b/pyrogram/client/filters/filters.py @@ -19,7 +19,7 @@ import re from .filter import Filter -from ..types.bots import InlineKeyboardMarkup, ReplyKeyboardMarkup +from ..types.keyboards import InlineKeyboardMarkup, ReplyKeyboardMarkup def create(name: str, func: callable, **kwargs) -> type: diff --git a/pyrogram/client/types/__init__.py b/pyrogram/client/types/__init__.py index 120c7ff5..3d430c44 100644 --- a/pyrogram/client/types/__init__.py +++ b/pyrogram/client/types/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see . -from .bots import * +from .keyboards import * from .inline_mode import * from .input_media import * from .input_message_content import * diff --git a/pyrogram/client/types/bots/__init__.py b/pyrogram/client/types/keyboards/__init__.py similarity index 100% rename from pyrogram/client/types/bots/__init__.py rename to pyrogram/client/types/keyboards/__init__.py diff --git a/pyrogram/client/types/bots/callback_game.py b/pyrogram/client/types/keyboards/callback_game.py similarity index 100% rename from pyrogram/client/types/bots/callback_game.py rename to pyrogram/client/types/keyboards/callback_game.py diff --git a/pyrogram/client/types/bots/callback_query.py b/pyrogram/client/types/keyboards/callback_query.py similarity index 100% rename from pyrogram/client/types/bots/callback_query.py rename to pyrogram/client/types/keyboards/callback_query.py diff --git a/pyrogram/client/types/bots/force_reply.py b/pyrogram/client/types/keyboards/force_reply.py similarity index 100% rename from pyrogram/client/types/bots/force_reply.py rename to pyrogram/client/types/keyboards/force_reply.py diff --git a/pyrogram/client/types/bots/game_high_score.py b/pyrogram/client/types/keyboards/game_high_score.py similarity index 100% rename from pyrogram/client/types/bots/game_high_score.py rename to pyrogram/client/types/keyboards/game_high_score.py diff --git a/pyrogram/client/types/bots/game_high_scores.py b/pyrogram/client/types/keyboards/game_high_scores.py similarity index 100% rename from pyrogram/client/types/bots/game_high_scores.py rename to pyrogram/client/types/keyboards/game_high_scores.py diff --git a/pyrogram/client/types/bots/inline_keyboard_button.py b/pyrogram/client/types/keyboards/inline_keyboard_button.py similarity index 100% rename from pyrogram/client/types/bots/inline_keyboard_button.py rename to pyrogram/client/types/keyboards/inline_keyboard_button.py diff --git a/pyrogram/client/types/bots/inline_keyboard_markup.py b/pyrogram/client/types/keyboards/inline_keyboard_markup.py similarity index 100% rename from pyrogram/client/types/bots/inline_keyboard_markup.py rename to pyrogram/client/types/keyboards/inline_keyboard_markup.py diff --git a/pyrogram/client/types/bots/keyboard_button.py b/pyrogram/client/types/keyboards/keyboard_button.py similarity index 100% rename from pyrogram/client/types/bots/keyboard_button.py rename to pyrogram/client/types/keyboards/keyboard_button.py diff --git a/pyrogram/client/types/bots/reply_keyboard_markup.py b/pyrogram/client/types/keyboards/reply_keyboard_markup.py similarity index 100% rename from pyrogram/client/types/bots/reply_keyboard_markup.py rename to pyrogram/client/types/keyboards/reply_keyboard_markup.py diff --git a/pyrogram/client/types/bots/reply_keyboard_remove.py b/pyrogram/client/types/keyboards/reply_keyboard_remove.py similarity index 100% rename from pyrogram/client/types/bots/reply_keyboard_remove.py rename to pyrogram/client/types/keyboards/reply_keyboard_remove.py