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

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

	return keyboards
}
// NewInlineKeyboardButtonsAsRowsWithCallbackData is a helper function
// for generating an array of InlineKeyboardButtons (as rows) with callback data
NewInlineKeyboardButtonsAsRowsWithCallbackData is a helper function
for generating an array of InlineKeyboardButtons (as rows) with callback data
// NewInlineKeyboardButtonsAsRowsWithCallbackData is a helper function // for generating an array of InlineKeyboardButtons ( as rows ) with callback data
func NewInlineKeyboardButtonsAsRowsWithCallbackData(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 NewInlineKeyboardButtonsAsRowsWithCallbackData ( values map [ string ] string ) [ ] [ ] InlineKeyboardButton { keyboards := [ ] [ ] InlineKeyboardButton { } for text , data := range values { callbackData := data keyboards = append ( keyboards , [ ] InlineKeyboardButton { { Text : text , CallbackData : & callbackData , } , } ) } return keyboards }
NewInlineKeyboardButtonsAsRowsWithCallbackData is a helper function
for generating an array of InlineKeyboardButtons (as rows) with callback data
NewInlineKeyboardButtonsAsRowsWithCallbackData is a helper function for generating an array of InlineKeyboardButtons ( as rows ) with callback data