Fix type of attribute id of InlineQuery from int to str

This commit is contained in:
Cub11k 2023-01-15 15:04:07 +02:00
parent 93dcbbeb02
commit 1eda7cafd4
1 changed files with 1 additions and 1 deletions

View File

@ -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