Skip to content

Commit

Permalink
try to solve merge conflict last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
clot27 committed Dec 21, 2022
1 parent 31e7708 commit 7cfd62b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions telegram/_replykeyboardmarkup.py
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see [http://www.gnu.org/licenses/].
"""This module contains an object that represents a Telegram ReplyKeyboardMarkup."""

from typing import ClassVar, List, Sequence, Union
from typing import ClassVar, Sequence, Union

from telegram import constants
from telegram._keyboardbutton import KeyboardButton
Expand Down Expand Up @@ -178,7 +178,7 @@ def from_button(
@classmethod
def from_row(
cls,
button_row: List[Union[str, KeyboardButton]],
button_row: Sequence[Union[str, KeyboardButton]],
resize_keyboard: bool = False,
one_time_keyboard: bool = False,
selective: bool = False,
Expand All @@ -192,8 +192,8 @@ def from_row(
Return a ReplyKeyboardMarkup from a single row of KeyboardButtons.
Args:
button_row (List[:class:`telegram.KeyboardButton` | :obj:`str`]): The button to use in
the markup.
button_row (Sequence[:class:`telegram.KeyboardButton` | :obj:`str`]): The button to
use in the markup.
resize_keyboard (:obj:`bool`, optional): Requests clients to resize the keyboard
vertically for optimal fit (e.g., make the keyboard smaller if there are just two
rows of buttons). Defaults to :obj:`False`, in which case the custom keyboard is
Expand Down Expand Up @@ -230,7 +230,7 @@ def from_row(
@classmethod
def from_column(
cls,
button_column: List[Union[str, KeyboardButton]],
button_column: Sequence[Union[str, KeyboardButton]],
resize_keyboard: bool = False,
one_time_keyboard: bool = False,
selective: bool = False,
Expand All @@ -244,8 +244,8 @@ def from_column(
Return a ReplyKeyboardMarkup from a single column of KeyboardButtons.
Args:
button_column (List[:class:`telegram.KeyboardButton` | :obj:`str`]): The button to use
in the markup.
button_column (Sequence[:class:`telegram.KeyboardButton` | :obj:`str`]): The button
to use in the markup.
resize_keyboard (:obj:`bool`, optional): Requests clients to resize the keyboard
vertically for optimal fit (e.g., make the keyboard smaller if there are just two
rows of buttons). Defaults to :obj:`False`, in which case the custom keyboard is
Expand Down

0 comments on commit 7cfd62b

Please sign in to comment.