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

	for text, data := range values {
		callbackData := data
		keyboards = append(keyboards, InlineKeyboardButton{
			Text:         text,
			CallbackData: &callbackData,
		})
	}

	return keyboards
}
// NewInlineKeyboardButtonsAsColumnsWithCallbackData is a helper function
// for generating an array of InlineKeyboardButtons (as columns) with callback data
NewInlineKeyboardButtonsAsColumnsWithCallbackData is a helper function
for generating an array of InlineKeyboardButtons (as columns) with callback data
// NewInlineKeyboardButtonsAsColumnsWithCallbackData is a helper function // for generating an array of InlineKeyboardButtons ( as columns ) with callback data
func NewInlineKeyboardButtonsAsColumnsWithCallbackData(values map[string]string) []InlineKeyboardButton {
	keyboards := []InlineKeyboardButton{}
	for text, data := range values {
		callbackData := data
		keyboards = append(keyboards, InlineKeyboardButton{
			Text:         text,
			CallbackData: &callbackData,
		})
	}
	return keyboards
}
func NewInlineKeyboardButtonsAsColumnsWithCallbackData ( values map [ string ] string ) [ ] InlineKeyboardButton { keyboards := [ ] InlineKeyboardButton { } for text , data := range values { callbackData := data keyboards = append ( keyboards , InlineKeyboardButton { Text : text , CallbackData : & callbackData , } ) } return keyboards }
NewInlineKeyboardButtonsAsColumnsWithCallbackData is a helper function
for generating an array of InlineKeyboardButtons (as columns) with callback data
NewInlineKeyboardButtonsAsColumnsWithCallbackData is a helper function for generating an array of InlineKeyboardButtons ( as columns ) with callback data