Retrieve a Matchmaking Channel
Last updated on
Use the following function to retrieve a channel:
- Go
- Python
- C#
- Java
ok, err := matchmakingService.GetSingleMatchmakingChannel(input)
if err != nil {
return err
}
return nil
from accelbyte_py_sdk.api.matchmaking import get_single_matchmaking_channel
result, error = get_single_matchmaking_channel(
channel_name="<channel_name>"
)
if error:
print(error)
Matchmaking wMatchmaking = new Matchmaking(sdk);
ModelsChannelV1? gResp = wMatchmaking.GetSingleMatchmakingChannel(GetSingleMatchmakingChannel.Builder
.Build("<channel_name>", sdk.Namespace));
ModelsChannelV1 gResp = wMatchmaking.getSingleMatchmakingChannel(GetSingleMatchmakingChannel.builder()
.namespace(namespace)
.channelName(channelName)
.build());