Skip to main content

Topic - Public Cheer Events

Description

This topic can be used to monitor public cheer events for a specified channel. Currently, this only represents Cheerbombs (i.e. a cheer with shared rewards associated).

With all undocumented topics, use at your own risk.

Method Definition

NameTypeDescription
credentialOAuth2CredentialAuth Token (may not necessarily be required)
channelIdStringTarget Channel Id

Code-Snippets

Subscribe to all cheerbombs in channel twitch4j and register a listener that prints all messages to console

twitchClient.getPubSub().listenForPublicCheerEvents(credential, "149223493");

twitchClient.getEventManager().onEvent(CheerbombEvent.class, System.out::println);