stream-chat-go
stream-chat-go copied to clipboard
Stream Chat official Golang API Client
If you first grab a user record like so: ``` filter := map[string]interface{}{ "id": "", } users, usersErr := streamClient.QueryUsers(&stream.QueryOption{ Filter: filter, Limit: 1, }) ``` Then modify the user...
to provide more context to the users. [pkg/errors](https://github.com/pkg/errors) could be leveraged.
Passing `id_gt` or any other id params does not work, see the screenshot below of my Postman request returning user with id `15` even though I passed in `id_gt: 100`....
The Go SDK QueryResponse type does not include `watchers` which is returned from the API. This currently prevents the ability to query a channel's watchers.
`PaginationParamsRequest` is typed as `string` when it should be typed as `int`. This causes the request to fail with this error: ``` error: \"expected number for field \"watchers.id_gte\" but got...
## CLA - [X] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [X] The code changes follow best practices - [X] Code changes are tested (add some information if not...
`Expected Behavior:` I should be able to construct a Go client instance with an http.Client where http.RoundTripper is *otelhttp.Transport `Actual Behavior:` NewClient panics `getting below error on creating clent"-` panic:...
Bumps gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
It should be parsed and returned. Same for other async operations I assume.