C# 클래스 OakBot.Clients.TwitchAuthenticatedClient

상속: TwitchReadOnlyClient, ITwitchClient
파일 보기 프로젝트 열기: ocgineer/OakBot 1 사용 예제들

공개 메소드들

메소드 설명
Block ( string target ) : TwitchResponse
CanSubscribeToChannel ( string channel ) : bool
Follow ( string target, bool notifications = false ) : FollowedChannel
GetBlocks ( ) : TwitchList
GetChannelEditors ( ) : TwitchList
GetFollowedStreams ( PagingInfo pagingInfo = null ) : TwitchList
GetFollowedVideos ( PagingInfo pagingInfo = null ) : TwitchList
GetFollowers ( PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.asc ) : TwitchList
GetMyChannel ( ) : Channel
GetMyStream ( ) : StreamResult
GetMyUser ( ) : User
GetRequest ( string url, Method method ) : RestRequest
GetSubscribedChannel ( string channel ) : Subscription
GetSubscriber ( string user ) : Subscription
GetSubscribers ( PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.asc ) : TwitchList
IsSubscribedToChannel ( string channel ) : bool
IsSubscriber ( string user ) : bool
ResetStreamKey ( ) : User
SetDelay ( long delay ) : Channel
SetGame ( string game ) : Channel
SetTitle ( string title ) : Channel
TriggerCommercial ( int length ) : TwitchResponse

TwitchAuthenticatedClient ( string oauth, string clientId ) : OakBot.Enums
Unblock ( string target ) : TwitchResponse
Unfollow ( string target ) : TwitchResponse
Update ( string status = null, string game = null, long delay = null ) : Channel

메소드 상세

Block() 공개 메소드

public Block ( string target ) : TwitchResponse
target string
리턴 OakBot.Models.TwitchResponse

CanSubscribeToChannel() 공개 메소드

public CanSubscribeToChannel ( string channel ) : bool
channel string
리턴 bool

Follow() 공개 메소드

public Follow ( string target, bool notifications = false ) : FollowedChannel
target string
notifications bool
리턴 OakBot.Models.FollowedChannel

GetBlocks() 공개 메소드

public GetBlocks ( ) : TwitchList
리턴 TwitchList

GetChannelEditors() 공개 메소드

public GetChannelEditors ( ) : TwitchList
리턴 TwitchList

GetFollowedStreams() 공개 메소드

public GetFollowedStreams ( PagingInfo pagingInfo = null ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetFollowedVideos() 공개 메소드

public GetFollowedVideos ( PagingInfo pagingInfo = null ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
리턴 TwitchList

GetFollowers() 공개 메소드

public GetFollowers ( PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.asc ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
sortDirection SortDirection
리턴 TwitchList

GetMyChannel() 공개 메소드

public GetMyChannel ( ) : Channel
리턴 OakBot.Models.Channel

GetMyStream() 공개 메소드

public GetMyStream ( ) : StreamResult
리턴 OakBot.Models.StreamResult

GetMyUser() 공개 메소드

public GetMyUser ( ) : User
리턴 OakBot.Models.User

GetRequest() 공개 메소드

public GetRequest ( string url, Method method ) : RestRequest
url string
method Method
리턴 RestSharp.RestRequest

GetSubscribedChannel() 공개 메소드

public GetSubscribedChannel ( string channel ) : Subscription
channel string
리턴 OakBot.Models.Subscription

GetSubscriber() 공개 메소드

public GetSubscriber ( string user ) : Subscription
user string
리턴 OakBot.Models.Subscription

GetSubscribers() 공개 메소드

public GetSubscribers ( PagingInfo pagingInfo = null, SortDirection sortDirection = SortDirection.asc ) : TwitchList
pagingInfo OakBot.Helpers.PagingInfo
sortDirection SortDirection
리턴 TwitchList

IsSubscribedToChannel() 공개 메소드

public IsSubscribedToChannel ( string channel ) : bool
channel string
리턴 bool

IsSubscriber() 공개 메소드

public IsSubscriber ( string user ) : bool
user string
리턴 bool

ResetStreamKey() 공개 메소드

public ResetStreamKey ( ) : User
리턴 OakBot.Models.User

SetDelay() 공개 메소드

public SetDelay ( long delay ) : Channel
delay long
리턴 OakBot.Models.Channel

SetGame() 공개 메소드

public SetGame ( string game ) : Channel
game string
리턴 OakBot.Models.Channel

SetTitle() 공개 메소드

public SetTitle ( string title ) : Channel
title string
리턴 OakBot.Models.Channel

TriggerCommercial() 공개 메소드

public TriggerCommercial ( int length ) : TwitchResponse
length int Length of commercial break in seconds. Default value is 30. Valid values are 30, 60, 90, 120, 150, and 180. You can only trigger a commercial once every 8 minutes.
리턴 OakBot.Models.TwitchResponse

TwitchAuthenticatedClient() 공개 메소드

public TwitchAuthenticatedClient ( string oauth, string clientId ) : OakBot.Enums
oauth string
clientId string
리턴 OakBot.Enums

Unblock() 공개 메소드

public Unblock ( string target ) : TwitchResponse
target string
리턴 OakBot.Models.TwitchResponse

Unfollow() 공개 메소드

public Unfollow ( string target ) : TwitchResponse
target string
리턴 OakBot.Models.TwitchResponse

Update() 공개 메소드

public Update ( string status = null, string game = null, long delay = null ) : Channel
status string
game string
delay long
리턴 OakBot.Models.Channel