1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1883 from Cub11k/master

Fix type of attribute id of InlineQuery from int to str
This commit is contained in:
_run 2023-01-15 17:22:22 +04:00 committed by GitHub
commit 68c1fe8cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3261,7 +3261,7 @@ class InlineQuery(JsonDeserializable):
return cls(**obj) return cls(**obj)
def __init__(self, id, from_user, query, offset, chat_type=None, location=None, **kwargs): 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.from_user: User = from_user
self.query: str = query self.query: str = query
self.offset: str = offset self.offset: str = offset