| 1498 | } |
| 1499 | |
| 1500 | type BetaChatKitThreadListParams struct { |
| 1501 | // List items created after this thread item ID. Defaults to null for the first |
| 1502 | // page. |
| 1503 | After param.Opt[string] `query:"after,omitzero" json:"-"` |
| 1504 | // List items created before this thread item ID. Defaults to null for the newest |
| 1505 | // results. |
| 1506 | Before param.Opt[string] `query:"before,omitzero" json:"-"` |
| 1507 | // Maximum number of thread items to return. Defaults to 20. |
| 1508 | Limit param.Opt[int64] `query:"limit,omitzero" json:"-"` |
| 1509 | // Filter threads that belong to this user identifier. Defaults to null to return |
| 1510 | // all users. |
| 1511 | User param.Opt[string] `query:"user,omitzero" json:"-"` |
| 1512 | // Sort order for results by creation time. Defaults to `desc`. |
| 1513 | // |
| 1514 | // Any of "asc", "desc". |
| 1515 | Order BetaChatKitThreadListParamsOrder `query:"order,omitzero" json:"-"` |
| 1516 | paramObj |
| 1517 | } |
| 1518 | |
| 1519 | // URLQuery serializes [BetaChatKitThreadListParams]'s query parameters as |
| 1520 | // `url.Values`. |
nothing calls this directly
no outgoing calls
no test coverage detected