Skip to content

Commit 94d90ef

Browse files
committed
Rename section from "Keyboards" to "Bots & Keyboards"
1 parent 09c5b23 commit 94d90ef

13 files changed

Lines changed: 5 additions & 5 deletions

docs/source/api/types.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Messages & Media
5757
- :class:`Poll`
5858
- :class:`PollOption`
5959

60-
Keyboards
61-
^^^^^^^^^
60+
Bots & Keyboards
61+
^^^^^^^^^^^^^^^^
6262

6363
.. hlist::
6464
:columns: 4
@@ -140,7 +140,7 @@ Details
140140
.. autoclass:: Poll()
141141
.. autoclass:: PollOption()
142142

143-
.. Keyboards
143+
.. Bots & Keyboards
144144
.. autoclass:: ReplyKeyboardMarkup()
145145
.. autoclass:: KeyboardButton()
146146
.. autoclass:: ReplyKeyboardRemove()

pyrogram/client/filters/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import re
2020

2121
from .filter import Filter
22-
from ..types.keyboards import InlineKeyboardMarkup, ReplyKeyboardMarkup
22+
from ..types.bots_and_keyboards import InlineKeyboardMarkup, ReplyKeyboardMarkup
2323

2424

2525
def create(name: str, func: callable, **kwargs) -> type:

pyrogram/client/types/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19-
from .keyboards import *
19+
from .bots_and_keyboards import *
2020
from .inline_mode import *
2121
from .input_media import *
2222
from .input_message_content import *
File renamed without changes.
File renamed without changes.

pyrogram/client/types/keyboards/callback_query.py renamed to pyrogram/client/types/bots_and_keyboards/callback_query.py

File renamed without changes.
File renamed without changes.

pyrogram/client/types/keyboards/game_high_score.py renamed to pyrogram/client/types/bots_and_keyboards/game_high_score.py

File renamed without changes.

pyrogram/client/types/keyboards/inline_keyboard_button.py renamed to pyrogram/client/types/bots_and_keyboards/inline_keyboard_button.py

File renamed without changes.

pyrogram/client/types/keyboards/inline_keyboard_markup.py renamed to pyrogram/client/types/bots_and_keyboards/inline_keyboard_markup.py

File renamed without changes.

0 commit comments

Comments
 (0)