Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct {
Ok bool `json:"ok"`
}
type AuthResponse ¶
type Channel ¶
type Channel struct { ID string `json:"id"` Name string `json:"name"` IsChannel bool `json:"is_channel"` Created int `json:"created"` Creator string `json:"creator"` IsArchived bool `json:"is_archived"` IsGeneral bool `json:"is_general"` NameNormalized string `json:"name_normalized"` IsMember bool `json:"is_member"` Members []string `json:"members"` Topic struct { Value string `json:"value"` Creator string `json:"creator"` LastSet int `json:"last_set"` } `json:"topic"` Purpose struct { Value string `json:"value"` Creator string `json:"creator"` LastSet int `json:"last_set"` } `json:"purpose"` PreviousNames []interface{} `json:"previous_names"` NumMembers int `json:"num_members"` }
type ChannelList ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows you to provide connection to Slack API Server It contains a token that allows to authenticate connection to post and work with channels in the domain
func NewFakeClient ¶
func NewFakeClient() *Client
NewFakeClient returns a client that takes no actions.
func (*Client) GetChannels ¶
func (*Client) VerifyAuth ¶
func (*Client) WriteMessage ¶
Click to show internal directories.
Click to hide internal directories.