mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 23:22:55 +08:00
Use IEnumable instead of List
This commit is contained in:
parent
c937789684
commit
f1696eae92
@ -10,10 +10,10 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetChannelMessagesRequest : APIRequest<List<Message>>
|
||||
{
|
||||
private readonly List<ChannelChat> channels;
|
||||
private readonly IEnumerable<ChannelChat> channels;
|
||||
private long? since;
|
||||
|
||||
public GetChannelMessagesRequest(List<ChannelChat> channels, long? sinceId)
|
||||
public GetChannelMessagesRequest(IEnumerable<ChannelChat> channels, long? sinceId)
|
||||
{
|
||||
this.channels = channels;
|
||||
since = sinceId;
|
||||
|
Loading…
Reference in New Issue
Block a user