func NewInlineKeyboardButtonsWithSwitchInlineQuery(values map[string]string) []InlineKeyboardButton {
	keyboards := []InlineKeyboardButton{}

	for text, switchInlineQuery := range values {
		query := switchInlineQuery
		keyboards = append(keyboards, InlineKeyboardButton{
			Text:              text,
			SwitchInlineQuery: &query,
		})
	}

	return keyboards
}
// NewInlineKeyboardButtonsWithSwitchInlineQuery is a helper function
// for generating an array of InlineKeyboardButtons with switch inline query
NewInlineKeyboardButtonsWithSwitchInlineQuery is a helper function
for generating an array of InlineKeyboardButtons with switch inline query
// NewInlineKeyboardButtonsWithSwitchInlineQuery is a helper function // for generating an array of InlineKeyboardButtons with switch inline query
func NewInlineKeyboardButtonsWithSwitchInlineQuery(values map[string]string) []InlineKeyboardButton {
	keyboards := []InlineKeyboardButton{}
	for text, switchInlineQuery := range values {
		query := switchInlineQuery
		keyboards = append(keyboards, InlineKeyboardButton{
			Text:              text,
			SwitchInlineQuery: &query,
		})
	}
	return keyboards
}
func NewInlineKeyboardButtonsWithSwitchInlineQuery ( values map [ string ] string ) [ ] InlineKeyboardButton { keyboards := [ ] InlineKeyboardButton { } for text , switchInlineQuery := range values { query := switchInlineQuery keyboards = append ( keyboards , InlineKeyboardButton { Text : text , SwitchInlineQuery : & query , } ) } return keyboards }
NewInlineKeyboardButtonsWithSwitchInlineQuery is a helper function
for generating an array of InlineKeyboardButtons with switch inline query
NewInlineKeyboardButtonsWithSwitchInlineQuery is a helper function for generating an array of InlineKeyboardButtons with switch inline query