Skip to content

Commit

Permalink
Fix InlineQuery.event.geo returning None
Browse files Browse the repository at this point in the history
Closes #3136.
  • Loading branch information
Lonami committed Aug 22, 2021
1 parent 6a1f29d commit bc6bcd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telethon/events/inlinequery.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def geo(self):
and the user's device is able to send it, this will return
the :tl:`GeoPoint` with the position of the user.
"""
return
return self.query.geo

@property
def builder(self):
Expand Down Expand Up @@ -174,9 +174,9 @@ async def answer(
gallery (`bool`, optional):
Whether the results should show as a gallery (grid) or not.
next_offset (`str`, optional):
The offset the client will send when the user scrolls the
The offset the client will send when the user scrolls the
results and it repeats the request.
private (`bool`, optional):
Expand Down

0 comments on commit bc6bcd3

Please sign in to comment.