Documentation
¶
Overview ¶
Package cli wires command-line subcommands to the Mattermost client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is set at release time via -ldflags.
Functions ¶
Types ¶
type RenderedChannel ¶ added in v0.8.0
type RenderedChannel struct {
ID string `json:"id"`
Name string `json:"name,omitempty"`
Type string `json:"type"`
LastPostAt string `json:"last_post_at,omitempty"`
Unread int64 `json:"unread"`
Mentions int64 `json:"mentions"`
}
RenderedChannel is a channel with the caller's read state.
type RenderedThread ¶ added in v0.8.0
type RenderedThread struct {
output.RenderedPost
ReplyCount int64 `json:"reply_count"`
LastReplyAt string `json:"last_reply_at,omitempty"`
UnreadReplies int64 `json:"unread_replies"`
UnreadMentions int64 `json:"unread_mentions"`
Participants []string `json:"participants,omitempty"`
}
RenderedThread is a followed thread: its root post plus reply state.