Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelResource ¶
type ChannelResponse ¶
type ChannelResponse struct { Response Channel ChannelResource }
type ChatPostMessageResponse ¶
type ChatPostMessageResponse struct { Response Channel string Message MessageResource }
type MessageResource ¶
type MessageResource struct { }
type MethodCall ¶
func (*MethodCall) Exec ¶
func (m *MethodCall) Exec(resp interface{}) (err error)
type RTMSession ¶
type RTMSession struct { Events chan Event Self *SelfResource Team *TeamResource Url string Users []UserResource // contains filtered or unexported fields }
func RTMStart ¶
func RTMStart() (rtm *RTMSession, err error)
func (*RTMSession) User ¶
func (rtm *RTMSession) User(id string) *UserResource
type RTMStartResponse ¶
type RTMStartResponse struct { Response Url string Self *SelfResource Team *TeamResource Users []UserResource }
type SelfResource ¶
type TeamResource ¶
type UserResource ¶
Click to show internal directories.
Click to hide internal directories.