Documentation ¶
Index ¶
- func AlwaysNotify(m *Message) bool
- func NewBotClient(token, asUser, displayName, avatarURL string, c http.Client, ...) *client
- func NewClient(token string, c http.Client, messageFilter MessageFilter) *client
- type Client
- type Comment
- type File
- type Hello
- type Message
- type MessageFilter
- type RoomMembers
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlwaysNotify ¶
func NewBotClient ¶
func NewBotClient(token, asUser, displayName, avatarURL string, c http.Client, messageFilter MessageFilter) *client
Types ¶
type Message ¶
type MessageFilter ¶
type RoomMembers ¶
func NewRoomMembers ¶
func NewRoomMembers() *RoomMembers
func (*RoomMembers) Add ¶
func (m *RoomMembers) Add(channel string, user *User)
func (*RoomMembers) Any ¶
func (m *RoomMembers) Any(channel string) *User
Click to show internal directories.
Click to hide internal directories.