Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update December 15, 2023 #55

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ozon/chats.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type ListChatsParams struct {
// Chats filter
Filter ListChatsFilter `json:"filter"`

// Number of values in the response. Default value is 1
Limit int64 `json:"limit" default:"1"`
// Number of values in the response. The default value is 30. The maximum value is 1000
Limit int64 `json:"limit" default:"30"`

// Number of elements that will be skipped in the response.
// For example, if offset=10, the response will start with the 11th element found
Expand Down Expand Up @@ -173,7 +173,7 @@ type ChatHistoryParams struct {
// Default value is the last visible message
FromMessageId string `json:"from_message_id"`

// Number of messages in the response. The default value is 50
// Number of messages in the response. The default value is 50. The maximum value is 1000
Limit int64 `json:"limit" default:"50"`
}

Expand Down
Loading