stream-chat-go
stream-chat-go copied to clipboard
golang sdk can not create a distinct channel
According to https://getstream.io/chat/docs/go-golang/creating_channels/#2-creating-a-channel-for-a-list-of-members---distinct-channels, creating a 1v1 distinct channel only requires executing:
client.CreateChannel(ctx, "messaging", nil, "tommaso", map[string]interface{}{
"members": []string{"thierry", "tommaso"},
})
but the latest code does not match the documentation.