diff --git a/telegram/_bot.py b/telegram/_bot.py index 8cd8ef854..b397bb615 100644 --- a/telegram/_bot.py +++ b/telegram/_bot.py @@ -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, diff --git a/telegram/ext/_extbot.py b/telegram/ext/_extbot.py index 2cd18ea9b..785d4be39 100644 --- a/telegram/ext/_extbot.py +++ b/telegram/ext/_extbot.py @@ -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,