Fixed issue with building chat url
This commit is contained in:
parent
735a171e67
commit
67e67e59be
2
chat.go
2
chat.go
|
@ -28,7 +28,7 @@ func (ci *ChatInfo) MessageUrl() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ci *ChatInfo) StreamUrl() string {
|
func (ci *ChatInfo) StreamUrl() string {
|
||||||
return fmt.Sprintf("%s/chat/api/chat/%s/stream", ci.UrlPrefix, ci.ChatID)
|
return fmt.Sprintf("%s/chat/%s/stream", ci.UrlPrefix, ci.ChatID)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) ChatInfo() error {
|
func (c *Client) ChatInfo() error {
|
||||||
|
|
Loading…
Reference in a new issue