Constructors
Properties
Methods
activateQuestion
- activateQuestion(broadcastId: string, questionId: string): Promise<unknown>
Parameters
- broadcastId: string
- questionId: string
Returns Promise<unknown>
comment
- comment(broadcastId: string, message: string): Promise<any>
Parameters
- broadcastId: string
- message: string
Returns Promise<any>
createQuestion
- createQuestion(broadcastId: string, question: string): Promise<any>
Parameters
- broadcastId: string
- question: string
Returns Promise<any>
deactivateQuestion
- deactivateQuestion(broadcastId: string, questionId: string): Promise<unknown>
Parameters
- broadcastId: string
- questionId: string
Returns Promise<unknown>
endBroadcast
- endBroadcast(broadcastId: string, endAfterCopyrightWarning?: boolean): Promise<unknown>
Parameters
- broadcastId: string
- endAfterCopyrightWarning: boolean = false
Returns Promise<unknown>
getCharityDonations
- getCharityDonations(broadcastId: string | number): Promise<unknown>
Parameters
- broadcastId: string | number
Returns Promise<unknown>
getComment
- getComment(__namedParameters: {
broadcastId: string;
commentsRequested?: number;
lastCommentTs?: string | number;
}): Promise<LiveCommentsResponseRootObject> Parameters
- __namedParameters: {
broadcastId: string;
commentsRequested?: number;
lastCommentTs?: string | number;
}broadcastId: string
Optional
commentsRequested?: number
Optional
lastCommentTs?: string | number
getJoinRequestCounts
- getJoinRequestCounts(__namedParameters: {
broadcastId: string;
lastFetchTs: string | number;
lastSeenTs: string | number;
lastTotalCount: string | number;
}): Promise<LiveJoinRequestCountsResponseRootObject> Parameters
- __namedParameters: {
broadcastId: string;
lastFetchTs: string | number;
lastSeenTs: string | number;
lastTotalCount: string | number;
}broadcastId: string
lastFetchTs: string | number
lastSeenTs: string | number
lastTotalCount: string | number
getLikeCount
- getLikeCount(broadcastId: string, likeTs?: string | number): Promise<LiveLikeCountResponseRootObject>
Parameters
- broadcastId: string
- likeTs: string | number = 0
getLivePresence
- getLivePresence(): Promise<any>
Returns Promise<any>
getLiveQuestions
- getLiveQuestions(broadcastId: string): Promise<any>
Returns Promise<any>
heartbeatAndGetViewerCount
like
- like(broadcastId: string, likeCount?: number): Promise<LiveLikeResponseRootObject>
Parameters
- broadcastId: string
- likeCount: number = 1
pinComment
- pinComment(broadcastId: string, commentId: string): Promise<any>
Parameters
- broadcastId: string
- commentId: string
Returns Promise<any>
preLiveTools
- preLiveTools(): Promise<unknown>
Returns Promise<unknown>
questions
- questions(broadcastId: string | number, sources: string): Promise<unknown>
Parameters
- broadcastId: string | number
- sources: string
Returns Promise<unknown>
resumeBroadcastAfterContentMatch
- resumeBroadcastAfterContentMatch(broadcastId: string): Promise<any>
Returns Promise<any>
setQuestionStatus
- setQuestionStatus(broadcastId: string | number, status: boolean): Promise<unknown>
Parameters
- broadcastId: string | number
- status: boolean
Returns Promise<unknown>
setSubscriptionPreference
- setSubscriptionPreference(broadcastId: string, preference: string): Promise<unknown>
Parameters
- broadcastId: string
- preference: string
Returns Promise<unknown>
unpinComment
- unpinComment(broadcastId: string, commentId: string): Promise<any>
Parameters
- broadcastId: string
- commentId: string
Returns Promise<any>
wave
- wave(broadcastId: string, viewerId: string): Promise<unknown>
Parameters
- broadcastId: string
- viewerId: string
Returns Promise<unknown>
Shows all online users, ready to watch your stream