Rename section from "Keyboards" to "Bots & Keyboards"

This commit is contained in:
Dan 2019-06-08 15:27:09 +02:00
parent 09c5b239be
commit 94d90efc80
13 changed files with 5 additions and 5 deletions

View File

@ -57,8 +57,8 @@ Messages & Media
- :class:`Poll` - :class:`Poll`
- :class:`PollOption` - :class:`PollOption`
Keyboards Bots & Keyboards
^^^^^^^^^ ^^^^^^^^^^^^^^^^
.. hlist:: .. hlist::
:columns: 4 :columns: 4
@ -140,7 +140,7 @@ Details
.. autoclass:: Poll() .. autoclass:: Poll()
.. autoclass:: PollOption() .. autoclass:: PollOption()
.. Keyboards .. Bots & Keyboards
.. autoclass:: ReplyKeyboardMarkup() .. autoclass:: ReplyKeyboardMarkup()
.. autoclass:: KeyboardButton() .. autoclass:: KeyboardButton()
.. autoclass:: ReplyKeyboardRemove() .. autoclass:: ReplyKeyboardRemove()

View File

@ -19,7 +19,7 @@
import re import re
from .filter import Filter from .filter import Filter
from ..types.keyboards import InlineKeyboardMarkup, ReplyKeyboardMarkup from ..types.bots_and_keyboards import InlineKeyboardMarkup, ReplyKeyboardMarkup
def create(name: str, func: callable, **kwargs) -> type: def create(name: str, func: callable, **kwargs) -> type:

View File

@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from .keyboards import * from .bots_and_keyboards import *
from .inline_mode import * from .inline_mode import *
from .input_media import * from .input_media import *
from .input_message_content import * from .input_message_content import *