diff --git a/server/runtime_go_nakama.go b/server/runtime_go_nakama.go index 1b42074e816fdd97f9ed3c67cc9eacf756fa5c4c..f6db1758864e93fe57e76c5593eabd8ea6f9175e 100644 --- a/server/runtime_go_nakama.go +++ b/server/runtime_go_nakama.go @@ -3884,7 +3884,7 @@ func (n *RuntimeGoNakamaModule) ChannelMessagesList(ctx context.Context, channel // @param ctx(type=context.Context) The context object represents information about the server and requester. // @param senderId(type=string) UserID of the message sender (when applicable). An empty string defaults to the system user. // @param target(type=string) Can be the room name, group identifier, or another username. -// @param chanType(type=runtime.ChannelType) The type of channel, for example group or direct. +// @param chanType(type=runtime.ChannelType) The type of channel, either Room (1), Direct (2), or Group (3). // @return channelId(string) The generated ID representing a channel. // @return error(error) An optional error value if an error occurred. func (n *RuntimeGoNakamaModule) ChannelIdBuild(ctx context.Context, senderId, target string, chanType runtime.ChannelType) (string, error) { diff --git a/server/runtime_javascript_nakama.go b/server/runtime_javascript_nakama.go index 79259ec78a6d6d4b1703950931b4b4b18c03c144..2a31535844f29b13435353511f422e9811a5fa87 100644 --- a/server/runtime_javascript_nakama.go +++ b/server/runtime_javascript_nakama.go @@ -7931,7 +7931,7 @@ func (n *runtimeJavascriptNakamaModule) channelMessagesList(r *goja.Runtime) fun // @summary Create a channel identifier to be used in other runtime calls. Does not create a channel. // @param senderId(type=string) UserID of the message sender (when applicable). Defaults to the system user if void. // @param target(type=string) Can be the room name, group identifier, or another username. -// @param chanType(type=nkruntime.ChannelType) The type of channel, for example group or direct. +// @param chanType(type=nkruntime.ChannelType) The type of channel, either Room (1), Direct (2), or Group (3). // @return channelId(string) The generated ID representing a channel. // @return error(error) An optional error value if an error occurred. func (n *runtimeJavascriptNakamaModule) channelIdBuild(r *goja.Runtime) func(goja.FunctionCall) goja.Value { diff --git a/server/runtime_lua_nakama.go b/server/runtime_lua_nakama.go index 6ea1a7faebfa6d68026da3b730845081b59b2387..b7d90905cc0be7acff2700109fdef7188d383d37 100644 --- a/server/runtime_lua_nakama.go +++ b/server/runtime_lua_nakama.go @@ -9515,7 +9515,7 @@ func (n *RuntimeLuaNakamaModule) channelMessagesList(l *lua.LState) int { // @summary Create a channel identifier to be used in other runtime calls. Does not create a channel. // @param senderId(type=string) UserID of the message sender (when applicable). An empty string defaults to the system user. // @param target(type=string) Can be the room name, group identifier, or another username. -// @param chanType(type=int) The type of channel, for example group or direct. +// @param chanType(type=int) The type of channel, either Room (1), Direct (2), or Group (3). // @return channelId(string) The generated ID representing a channel. // @return error(error) An optional error value if an error occurred. func (n *RuntimeLuaNakamaModule) channelIdBuild(l *lua.LState) int {