func NewButtonResponse(data []byte) (*ButtonResponse, error) {
	response := &ButtonResponse{}

	err := json.Unmarshal(data, &response)
	if err != nil {
		return response, err
	}

	return response, nil
}
// NewButtonResponse creates a button response and unmarshals json API
// button response to Go struct.
NewButtonResponse creates a button response and unmarshals json API
button response to Go struct.
// NewButtonResponse creates a button response and unmarshals json API // button response to Go struct .
func NewButtonResponse(data []byte) (*ButtonResponse, error) {
	response := &ButtonResponse{}
	err := json.Unmarshal(data, &response)
	if err != nil {
		return response, err
	}
	return response, nil
}
func NewButtonResponse ( data [ ] byte ) ( * ButtonResponse , error ) { response := & ButtonResponse { } err := json . Unmarshal ( data , & response ) if err != nil { return response , err } return response , nil }
NewButtonResponse creates a button response and unmarshals json API
button response to Go struct.
NewButtonResponse creates a button response and unmarshals json API button response to Go struct .