sendShoutout

suspend fun sendShoutout(fromId: String, toId: String, moderatorId: String)

Twitch API: Send a Shoutout

Sends a Shoutout to the specified broadcaster. Typically, you send Shoutouts when you or one of your moderators notice another broadcaster in your chat, the other broadcaster is streaming, and you want to alert your viewers about the other broadcaster.

Rate Limits: The broadcaster may send a Shoutout once every 2 minutes. They may send the same broadcaster a Shoutout once every 60 minutes.

Parameters

fromId

the ID of the broadcaster that's sending the Shoutout.

toId

the ID of the broadcaster that's receiving the Shoutout.

moderatorId

the ID of the broadcaster or a user that is one of the broadcaster's moderators. This ID must match the user ID in the access token.