mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +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
|
# Optionals
|
||||||
self.url = kwargs.get('url')
|
self.url = kwargs.get('url')
|
||||||
self.callback_data = kwargs.get('callback_data')
|
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
|
@staticmethod
|
||||||
def de_json(data):
|
def de_json(data):
|
||||||
|
|
Loading…
Reference in a new issue