Add test coverage for loading process on channel join

This commit is contained in:
Bartłomiej Dach
2021-10-05 20:52:40 +02:00
parent 6f7b8293af
commit 12da27cde7
2 changed files with 40 additions and 4 deletions

View File

@ -8,13 +8,13 @@ namespace osu.Game.Online.API.Requests
{
public class GetMessagesRequest : APIRequest<List<Message>>
{
private readonly Channel channel;
public readonly Channel Channel;
public GetMessagesRequest(Channel channel)
{
this.channel = channel;
Channel = channel;
}
protected override string Target => $@"chat/channels/{channel.Id}/messages";
protected override string Target => $@"chat/channels/{Channel.Id}/messages";
}
}