Documentation
¶
Index ¶
- type Client
- func (a *Client) FetchChannels(ctx context.Context, tx boil.ContextTransactor) error
- func (a *Client) FetchMessages(ctx context.Context, tx boil.ContextTransactor, channelID string, ...) error
- func (a *Client) FetchUsers(ctx context.Context, tx boil.ContextTransactor) error
- func (c *Client) SetLogger(w io.Writer)
- func (a *Client) Whoami() (botName, botID, userName, userID string, err error)
- type FetchMessagesConditionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents API client.
func (*Client) FetchChannels ¶
fetchChannels fetches and saves information about channels.
func (*Client) FetchMessages ¶
func (a *Client) FetchMessages(ctx context.Context, tx boil.ContextTransactor, channelID string, fs ...FetchMessagesConditionFunc) error
FetchMessages fetches and saves information about messages.
func (*Client) FetchUsers ¶
FetchUsers fetches and saves information about users.
Click to show internal directories.
Click to hide internal directories.