struct
StreamUser
public sealed struct StreamUser Properties
| Name | Type | Description |
|---|---|---|
Id | String | |
Login | String | |
DisplayName | String | |
UserType | String | |
BroadcasterType | String | |
Description | String | |
ProfileImageUrl | String | |
OfflineImageUrl | String | |
ViewCount | Int32 | |
Email | String | |
CreatedAt | DateTimeOffset | |
Following | List<StreamUserFollow>> | Get following "Who is following us" |
Followers | List<StreamUserFollow>> | Get followers "Who are we following" |
Methods
Void Ban(String reason, Int32 duration = 0) Ban user from your chat, the user will no longer be able to chat. Optionally specify the duration, a duration of zero means perm ban (Note: You have to be in your chat for this to work)
Void Unban() Unban user from your chat, this allows them to chat again (Note: You have to be in your chat for this to work)
Task<StreamClip> CreateClip(Boolean hasDelay = False) Create a clip of our stream, if we're streaming
Task<StreamPoll> CreatePoll(String title, Int32 duration, String[] choices) Start a poll on our channel with multiple choices, save the poll so you can end it later on
Task<StreamPrediction> CreatePrediction(String title, Int32 duration, String firstOutcome, String secondOutcome) Create a prediction on our channel to bet with channel points