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:
parent
c937789684
commit
f1696eae92
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user