1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 13:27:23 +08:00
osu-lazer/osu.Game/Online/API/Requests/GetMessagesRequest.cs
2018-09-25 20:53:24 +09:00

21 lines
572 B
C#

// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class GetMessagesRequest : APIRequest<List<Message>>
{
private readonly Channel channel;
public GetMessagesRequest(Channel channel)
{
this.channel = channel;
}
protected override string Target => $@"chat/channels/{channel.Id}/messages";
}
}