- Apr 26, 2015
- 1,029
- 896
- 216
Well today I wanted to create a channel with the sdk with a topic, a password and a description set at the creation of the channel. Couldn't filnd any way to do it. Only thing I found is this
Maybe I need to set everything with setchannelvariableasblah and then flush the creation ?
Does anyone know how to do it ?
Code:
unsigned int (*setChannelVariableAsInt)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, int value);
unsigned int (*setChannelVariableAsUInt64)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, uint64 value);
unsigned int (*setChannelVariableAsString)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, const char* value);
unsigned int (*flushChannelUpdates)(uint64 serverConnectionHandlerID, uint64 channelID, const char* returnCode);
unsigned int (*flushChannelCreation)(uint64 serverConnectionHandlerID, uint64 channelParentID, const char* returnCode);
Does anyone know how to do it ?