Documentation ¶
Overview ¶
Package structures provides functions to parse Slack data types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSlackTS ¶
func ParseSlackTS ¶
ParseSlackTS parses the slack timestamp.
Types ¶
type UserIndex ¶
UserIndex is a mapping of user ID to the *slack.User.
func NewUserIndex ¶
NewUserIndex creates a new UserIndex from slack Users slice
func (UserIndex) ChannelName ¶
ChannelName return the "beautified" name of the channel.
func (UserIndex) IsDeleted ¶
IsDeleted checks if the user is deleted and returns appropriate value. It will assume user is not deleted, if it's not present in the user index.
Click to show internal directories.
Click to hide internal directories.