ITwitchApi
Interface
Members
9
CancelRaidAsync
method
Cancels the broadcaster's pending outgoing raid. No-ops (logs) on any API error.Task CancelRaidAsync(CancellationToken cancellationToken = default)GetFollowerAsync
method
The follow record for userId, or null when they don't follow (or on error).Task<TwitchFollowerInfo> GetFollowerAsync(string userId, CancellationToken cancellationToken = default)GetLiveTeamMembersAsync
method
A team's currently-live members only; an empty result on a blank team id or error.Task<TwitchTeamMembersResult> GetLiveTeamMembersAsync(string teamId, CancellationToken cancellationToken = default)GetStreamAsync
method
The current stream for the broadcaster, or null when offline (or on error).Task<TwitchStreamInfo> GetStreamAsync(CancellationToken cancellationToken = default)GetTeamMembersAsync
method
A team's full member roster; an empty result on a blank team id or error.Task<TwitchTeamMembersResult> GetTeamMembersAsync(string teamId, CancellationToken cancellationToken = default)GetTeamsAsync
method
The broadcaster's teams; an empty result on error (never null, never throws).Task<TwitchTeamsResult> GetTeamsAsync(CancellationToken cancellationToken = default)IsFollowingAsync
method
True when userId follows the broadcaster; false if not or on error.Task<bool> IsFollowingAsync(string userId, CancellationToken cancellationToken = default)IsLiveAsync
method
True when the broadcaster is currently live; false if offline or on error.Task<bool> IsLiveAsync(CancellationToken cancellationToken = default)StartRaidAsync
method
Starts an outgoing raid to toBroadcasterId (a team member's channel id). No-ops (logs) on a blank target or any API error. Needs channel:manage:raids.Task StartRaidAsync(string toBroadcasterId, CancellationToken cancellationToken = default)
