InlineKeyboardButtonTypeSwitchInline constructor

const InlineKeyboardButtonTypeSwitchInline({
  1. required String query,
  2. required TargetChat targetChat,
})

A button that forces an inline query to the bot to be inserted in the input field

Implementation

const InlineKeyboardButtonTypeSwitchInline({
  required this.query,
  required this.targetChat,
});