Update February 16, 2024 (#71)

This commit is contained in:
Kirill
2024-02-17 03:47:20 +03:00
committed by GitHub
parent 8e73d136f2
commit f6311fe59e
3 changed files with 34 additions and 14 deletions

View File

@@ -217,7 +217,7 @@ type ChatHistoryMessageUser struct {
Type string `json:"type"`
}
// Chat history
// Returns the history of chat messages. By default messages are shown from newest to oldest.
func (c Chats) History(ctx context.Context, params *ChatHistoryParams) (*ChatHistoryResponse, error) {
url := "/v2/chat/history"