Пример #1
0
 /// <summary> Get a specific user subscriber by id </summary>
 public Task <RestUserSubscription> GetSubscriberAsync(ulong userId, RequestOptions options = null)
 => ChannelHelper.GetSubscriberAsync(Client, Id, userId, options);
Пример #2
0
 // Videos
 /// <summary>  </summary>
 public Task <IReadOnlyCollection <RestVideo> > GetVideosAsync(PageOptions paging = null, RequestOptions options = null)    // Add parameters at some point
 => ChannelHelper.GetVideosAsync(Client, Id, paging, options);
Пример #3
0
 /// <summary> Get all users subscribed to this channel </summary>
 public Task <IReadOnlyCollection <RestUserSubscription> > GetSubscribersAsync(bool ascending = false, PageOptions paging = null, RequestOptions options = null)
 => ChannelHelper.GetSubscribersAsync(Client, Id, ascending, paging, options);
Пример #4
0
 /// <summary> Get all users authorized as an editor on this channel </summary>
 public Task <IReadOnlyCollection <RestUser> > GetEditorsAsync(RequestOptions options = null)
 => ChannelHelper.GetEditorsAsync(Client, Id, options);
Пример #5
0
 // Teams
 /// <summary> Get all teams this channel is a member of </summary>
 public Task <IReadOnlyCollection <RestSimpleTeam> > GetTeamsAsync(RequestOptions options = null)
 => ChannelHelper.GetTeamsAsync(Client, Id, options);
Пример #6
0
 /// <summary> Get chat badges for this channel </summary>
 public Task <RestChatBadges> GetChatBadgesAsync(RequestOptions options = null)
 => ChannelHelper.GetChatBadgesAsync(Client, Id, options);
Пример #7
0
 // Channels
 /// <summary> Change properties of this channel </summary>
 public Task ModifyAsync(Action <ModifyChannelParams> changes, RequestOptions options = null)
 => ChannelHelper.ModifyAsync(this, changes, options);