Documentation ¶
Index ¶
- func MakeMessageID(teamID, channelID, timestamp string) networkid.MessageID
- func MakePartID(partType PartType, index int, id string) networkid.PartID
- func MakePortalID(teamID, channelID string) networkid.PortalID
- func MakePortalKey(teamID, channelID string, userLoginID networkid.UserLoginID, wantReceiver bool) (key networkid.PortalKey)
- func MakeTeamPortalID(teamID string) networkid.PortalID
- func MakeUserID(teamID, userID string) networkid.UserID
- func MakeUserLoginID(teamID, userID string) networkid.UserLoginID
- func ParseMessageID(id networkid.MessageID) (teamID, channelID, timestamp string, ok bool)
- func ParsePortalID(id networkid.PortalID) (teamID, channelID string)
- func ParseSlackTimestamp(timestamp string) time.Time
- func ParseUserID(id networkid.UserID) (teamID, userID string)
- func ParseUserLoginID(id networkid.UserLoginID) (teamID, userID string)
- func UserIDToUserLoginID(userID networkid.UserID) networkid.UserLoginID
- func UserLoginIDToUserID(userLoginID networkid.UserLoginID) networkid.UserID
- type GhostMetadata
- type MessageMetadata
- type PartType
- type PortalMetadata
- type UserLoginMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMessageID ¶
func MakePortalID ¶
func MakePortalKey ¶
func MakeTeamPortalID ¶
func MakeUserID ¶
func MakeUserLoginID ¶
func MakeUserLoginID(teamID, userID string) networkid.UserLoginID
func ParseMessageID ¶
func ParsePortalID ¶
func ParseSlackTimestamp ¶
func ParseUserID ¶
func ParseUserLoginID ¶
func ParseUserLoginID(id networkid.UserLoginID) (teamID, userID string)
func UserIDToUserLoginID ¶
func UserIDToUserLoginID(userID networkid.UserID) networkid.UserLoginID
func UserLoginIDToUserID ¶
func UserLoginIDToUserID(userLoginID networkid.UserLoginID) networkid.UserID
Types ¶
type GhostMetadata ¶
type MessageMetadata ¶
type MessageMetadata struct {
CaptionMerged bool `json:"caption_merged"`
}
type PortalMetadata ¶
type PortalMetadata struct { // Only present for team portals, not channels TeamDomain string `json:"team_domain"` }
Click to show internal directories.
Click to hide internal directories.