Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelInfo ¶
type ChannelInfo struct { ID string Name string IsChannel bool `json:"is_channel"` Created int Creator string IsArchived bool `json:"is_archived"` IsGeneral bool `json:"is_general"` Members []string Topic TopicPurpose Purpose TopicPurpose IsMember bool `json:"is_member"` LastRead float64 `json:"last_read,string"` Latest Latest UnreadCount int `json:"unread_count"` UnreadCountDisplay int `json:"unread_count_display"` }
func Info ¶
func Info(id string) (ChannelInfo, error)
func List ¶
func List() ([]ChannelInfo, error)
func (ChannelInfo) String ¶
func (c ChannelInfo) String() string
type TopicPurpose ¶
Click to show internal directories.
Click to hide internal directories.