Skip to content

Commit 1eda7ca

Browse files
committed
Fix type of attribute id of InlineQuery from int to str
1 parent 93dcbbe commit 1eda7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telebot/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3261,7 +3261,7 @@ def de_json(cls, json_string):
32613261
return cls(**obj)
32623262

32633263
def __init__(self, id, from_user, query, offset, chat_type=None, location=None, **kwargs):
3264-
self.id: int = id
3264+
self.id: str = id
32653265
self.from_user: User = from_user
32663266
self.query: str = query
32673267
self.offset: str = offset

0 commit comments

Comments
 (0)