TwitchChannelMediaImpl class

Implementation of the class TwitchChannelMedia. To make it works, it's needed the token for the authenticated resources and the clientId.

Inheritance

Constructors

TwitchChannelMediaImpl({String? token, String? clientId})

Properties

client → TwitchHttpClient
Used by the package for making HTTP requests
no setterinherited
clientId String?
Unique id for each application
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Update the token
finalgetter/setter pairinherited

Methods

getChannelChatBadges({required String broadcasterId}) Future<HttpResult<OpenApiGetBadgeResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-channel-chat-badges
override
getChannelEmotes({required String broadcasterId}) Future<HttpResult<OpenApiGetChannelMediaResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-channel-emotes
override
getCheermotes({required String broadcasterId}) Future<HttpResult<OpenApiGetCheermotesResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-cheermotes
override
getClips({required String broadcasterId}) Future<HttpResult<OpenApiGetClipsResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-clips
override
getEmoteSets({required String emoteSetId}) Future<HttpResult<OpenApiGetChannelMediaResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-emote-sets
override
getGlobalChatBadges() Future<HttpResult<OpenApiGetBadgeResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-global-chat-badges
override
getGlobalEmotes() Future<HttpResult<OpenApiGetChannelMediaResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-global-emotes
override
getVideos({required String userId, String? after, String? before, String? first, String? language, String? period, String? sort, String? type}) Future<HttpResult<OpenApiGetVideosResponse>>
Docs: https://dev.twitch.tv/docs/api/reference#get-videos
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited