X Tutup
Skip to content

Commit 263310b

Browse files
committed
switch_inline_query defaults to empty string python-telegram-bot#232
1 parent 720c4d2 commit 263310b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/inlinekeyboardbutton.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self,
5252
# Optionals
5353
self.url = kwargs.get('url')
5454
self.callback_data = kwargs.get('callback_data')
55-
self.switch_inline_query = kwargs.get('switch_inline_query')
55+
self.switch_inline_query = kwargs.get('switch_inline_query', '')
5656

5757
@staticmethod
5858
def de_json(data):

0 commit comments

Comments
 (0)
X Tutup