Documentation
¶
Index ¶
- func GetFinalResponse(ch <-chan map[string]interface{}) string
- func GetTextStream(ch <-chan map[string]interface{}) <-chan string
- type Client
- func (c *Client) DeleteMessage(messageIDs []int) error
- func (c *Client) GetBots() map[string]string
- func (c *Client) GetMessageHistory(chatbot string, count int, cursor interface{}) ([]map[string]interface{}, error)
- func (c *Client) PurgeConversation(chatbot string, count int) error
- func (c *Client) SendChatBreak(chatbot string) (map[string]interface{}, error)
- func (c *Client) SendMessage(chatbot, message string, withChatBreak bool, timeout time.Duration) (<-chan map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFinalResponse ¶
func GetTextStream ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteMessage ¶
func (*Client) GetMessageHistory ¶
func (*Client) PurgeConversation ¶
func (*Client) SendChatBreak ¶
Click to show internal directories.
Click to hide internal directories.