github.com/blend/go-sdk@v1.20220411.3/slack/response.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package slack
     9  
    10  // PostMessageResponse is a slack response
    11  type PostMessageResponse struct {
    12  	OK        bool    `json:"ok"`
    13  	Channel   string  `json:"channel,omitempty"`
    14  	Timestamp string  `json:"ts,omitempty"`
    15  	Message   Message `json:"message,omitempty"`
    16  	Error     string  `json:"error,omitempty"`
    17  }