mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
switch_inline_query defaults to empty string #232
This commit is contained in:
parent
720c4d22d8
commit
263310be36
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class InlineKeyboardButton(TelegramObject):
|
|||
# Optionals
|
||||
self.url = kwargs.get('url')
|
||||
self.callback_data = kwargs.get('callback_data')
|
||||
self.switch_inline_query = kwargs.get('switch_inline_query')
|
||||
self.switch_inline_query = kwargs.get('switch_inline_query', '')
|
||||
|
||||
@staticmethod
|
||||
def de_json(data):
|
||||
|
|
Loading…
Reference in a new issue