mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
Type Hinting Fixes (#3202)
This commit is contained in:
parent
a983a89964
commit
5b9afd5329
2 changed files with 14 additions and 14 deletions
|
@ -2129,7 +2129,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
latitude: float = None,
|
||||
longitude: float = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
|
@ -2243,7 +2243,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -3451,7 +3451,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
text: str,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
parse_mode: ODVInput[str] = DEFAULT_NONE,
|
||||
disable_web_page_preview: ODVInput[bool] = DEFAULT_NONE,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
|
@ -3646,7 +3646,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
media: "InputMedia",
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -3730,7 +3730,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: Optional["InlineKeyboardMarkup"] = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -4532,7 +4532,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
score: int,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
force: bool = None,
|
||||
disable_edit_message: bool = None,
|
||||
*,
|
||||
|
@ -4615,7 +4615,7 @@ class Bot(TelegramObject, AbstractAsyncContextManager):
|
|||
user_id: Union[int, str],
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
write_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
|
|
@ -1212,7 +1212,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
latitude: float = None,
|
||||
longitude: float = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
|
@ -1251,7 +1251,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
media: "InputMedia",
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -1278,7 +1278,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: Optional["InlineKeyboardMarkup"] = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -1305,7 +1305,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
text: str,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
parse_mode: ODVInput[str] = DEFAULT_NONE,
|
||||
disable_web_page_preview: ODVInput[bool] = DEFAULT_NONE,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
|
@ -1491,7 +1491,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
user_id: Union[int, str],
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
write_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
@ -2746,7 +2746,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
score: int,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
force: bool = None,
|
||||
disable_edit_message: bool = None,
|
||||
*,
|
||||
|
@ -2922,7 +2922,7 @@ class ExtBot(Bot, Generic[RLARGS]):
|
|||
self,
|
||||
chat_id: Union[str, int] = None,
|
||||
message_id: int = None,
|
||||
inline_message_id: int = None,
|
||||
inline_message_id: str = None,
|
||||
reply_markup: InlineKeyboardMarkup = None,
|
||||
*,
|
||||
read_timeout: ODVInput[float] = DEFAULT_NONE,
|
||||
|
|
Loading…
Reference in a new issue