Telethon
                                
                                
                                
                                    Telethon copied to clipboard
                            
                            
                            
                        "TypeError: expected string or bytes-like object!" while handling CallbackQuery
Checklist
- [x] The error is in the library's code, and not in my own.
 - [x] I have searched for this issue before posting it and there isn't a duplicate.
 - [x] I ran 
pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zipand triggered the bug in the latest version. 
Steps to Reproduce
- Handle Any callback event with 
events.CallbackQuery. - Send any Game via same bot.
 - Press Callback Button and Error
 
Traceback
File "/home/name/.local/lib/python3.9/site-packages/telethon/client/updates.py", line 460, in _dispatch_update
    filter = builder.filter(event)
  File "/home/name/.local/lib/python3.9/site-packages/telethon/events/callbackquery.py", line 115, in filter
    event.data_match = event.pattern_match = self.match(event.query.data)
TypeError: expected string or bytes-like object
Misc
- Telegram send Callback Query same as Game's ShortName if it's Game.
 - I believe, events.CallbackQuery should allow using Game ShortName in pattern/data.
 - And When Game Callback button is pressed, 
dataof that query turnsNoneandgame_short_nameis Present. - I tried doing that this way