Hi! To allow implementing Buttons with Inline mode support we need to make callback_data parameter not mandatory. From docs https://core.telegram.org/bots/api?operationName=&query=&variables=&access_token=6592911239:AAHYHr3IeQwqd6MswUI6I0q2Wm6m25V1CTw ```` InlineKeyboardButton This object represents one button of an inline keyboard. You must use exactly one of the optional fields. ```` So before this PR setting switch_inline_query param will not affect the result because always existing callback_data param will suppress it. _Originally posted by @vdomah in https://github.com/botman/driver-telegram/pull/85_
Hi!
To allow implementing Buttons with Inline mode support we need to make callback_data parameter not mandatory. From docs https://core.telegram.org/bots/api?operationName=&query=&variables=&access_token=6592911239:AAHYHr3IeQwqd6MswUI6I0q2Wm6m25V1CTw
So before this PR setting switch_inline_query param will not affect the result because always existing callback_data param will suppress it.
Originally posted by @vdomah in botman/driver-telegram#85