From 1eda7cafd46fa50f76b7aad210edab1c979ad5de Mon Sep 17 00:00:00 2001 From: Cub11k Date: Sun, 15 Jan 2023 15:04:07 +0200 Subject: [PATCH] Fix type of attribute id of InlineQuery from int to str --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index fa52e2a..730a0d4 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -3261,7 +3261,7 @@ class InlineQuery(JsonDeserializable): return cls(**obj) def __init__(self, id, from_user, query, offset, chat_type=None, location=None, **kwargs): - self.id: int = id + self.id: str = id self.from_user: User = from_user self.query: str = query self.offset: str = offset