1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:19:30 +08:00

Use IEnumable instead of List

This commit is contained in:
miterosan 2018-04-08 15:01:14 +02:00
parent c937789684
commit f1696eae92

View File

@ -10,10 +10,10 @@ namespace osu.Game.Online.API.Requests
{ {
public class GetChannelMessagesRequest : APIRequest<List<Message>> public class GetChannelMessagesRequest : APIRequest<List<Message>>
{ {
private readonly List<ChannelChat> channels; private readonly IEnumerable<ChannelChat> channels;
private long? since; private long? since;
public GetChannelMessagesRequest(List<ChannelChat> channels, long? sinceId) public GetChannelMessagesRequest(IEnumerable<ChannelChat> channels, long? sinceId)
{ {
this.channels = channels; this.channels = channels;
since = sinceId; since = sinceId;