Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "SlackApp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackApp ¶
type SlackApp struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"SlackApp"`
Xmlns string `xml:"xmlns,attr"`
AppKey struct {
Text string `xml:",chardata"`
} `xml:"appKey"`
AppToken struct {
Text string `xml:",chardata"`
} `xml:"appToken"`
BotScopes *struct {
Text string `xml:",chardata"`
} `xml:"botScopes,omitempty"`
ClientKey struct {
Text string `xml:",chardata"`
} `xml:"clientKey"`
ClientSecret struct {
Text string `xml:",chardata"`
} `xml:"clientSecret"`
IsProtected *struct {
Text string `xml:",chardata"`
} `xml:"isProtected,omitempty"`
MasterLabel struct {
Text string `xml:",chardata"`
} `xml:"masterLabel"`
SigningSecret struct {
Text string `xml:",chardata"`
} `xml:"signingSecret"`
UserScopes *struct {
Text string `xml:",chardata"`
} `xml:"userScopes,omitempty"`
}
SlackApp represents the SlackApp metadata type. The accompanying .slackapp file (YAML, holding the app's command/shortcut/event handler definitions) sits next to the .slackapp-meta.xml file in the slackapps directory and is read separately by consumers.
func (*SlackApp) SetMetadata ¶
func (s *SlackApp) SetMetadata(m metadata.MetadataInfo)
func (*SlackApp) Type ¶
func (s *SlackApp) Type() metadata.MetadataType
Click to show internal directories.
Click to hide internal directories.