mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 21:02:59 +08:00
20 lines
546 B
C#
20 lines
546 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
{
|
|
public class GetChannelRequest : APIRequest<GetChannelResponse>
|
|
{
|
|
private readonly long channelId;
|
|
|
|
public GetChannelRequest(long channelId)
|
|
{
|
|
this.channelId = channelId;
|
|
}
|
|
|
|
protected override string Target => $"chat/channels/{channelId}";
|
|
}
|
|
}
|