Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
ID string `json:"id"`
Name string `json:"name"`
IsChannel bool `json:"is_channel"`
IsGroup bool `json:"is_group"`
IsIm bool `json:"is_im"`
Created int `json:"created"`
Creator string `json:"creator"`
IsArchived bool `json:"is_archived"`
IsGeneral bool `json:"is_general"`
Unlinked int `json:"unlinked"`
NameNormalized string `json:"name_normalized"`
IsMember bool `json:"is_member"`
IsPrivate bool `json:"is_private"`
IsMpim bool `json:"is_mpim"`
LastRead string `json:"last_read"`
Latest Latest `json:"latest"`
UnreadCount int `json:"unread_count"`
UnreadCountDisplay int `json:"unread_count_display"`
Topic Topic `json:"topic"`
Purpose Purpose `json:"purpose"`
PreviousNames []string `json:"previous_names"`
Priority int `json:"priority"`
Locale string `json:"locale"`
NumMembers int `json:"num_members"`
ChannelMemberResponse
}
type ChannelCreateRequest ¶
type ChannelMemberResponse ¶
type Response ¶
type Response[T ResponseType] struct { Ok bool `json:"ok"` Data T `json:"data,omitempty"` Error string `json:"error,omitempty"` }
type ResponseType ¶
Click to show internal directories.
Click to hide internal directories.