Rename section from "Keyboards" to "Bots & Keyboards"
This commit is contained in:
parent
09c5b239be
commit
94d90efc80
@ -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()
|
||||||
|
@ -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:
|
||||||
|
@ -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 *
|
||||||
|
Loading…
Reference in New Issue
Block a user