Comments (2)
I think you can create it with something like this
channel = client.channel("messaging", data={"members": ["user_id_1", "user_id_2"]})
since based on the docs
You can achieve this by leaving the channel ID empty and provide channel type and members.
You might want to check the test cases if you need some other examples e.g in your case is
test create channel without id
from stream-chat-python.
@pangeran-bottor thanks, good and correct explanation.
from stream-chat-python.
Related Issues (20)
- Create or Update Chat Channel HOT 1
- Upgraded from stream-chat 4.1.0 to 4.2.1, breaking change on creating HOT 2
- Migration from 3.2.1 to 4.2.1
- Issue when querying users HOT 3
- Don't fail request for rate limit headers
- Bug:
- client.on() method
- add disable_webhooks option to campaigns API?
- Add a new way to query all users
- conda?
- StreamChatAsync does not clean up resources according to httpaio
- add throttling option to campaigns API? HOT 5
- Failed to add members to channel HOT 10
- Use f strings HOT 4
- Use built-in json response parser in async HOT 1
- Move to github action HOT 1
- Attachment Type - Custom Value HOT 1
- Support `Message` parameter for `channel.add_members` HOT 1
- Is partial_update_message there in python api client HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream-chat-python.