Package com.github.twitch4j.helix.domain
Class SendPubSubMessageInput.SendPubSubMessageInputBuilder
java.lang.Object
com.github.twitch4j.helix.domain.SendPubSubMessageInput.SendPubSubMessageInputBuilder
- Enclosing class:
- SendPubSubMessageInput
-
Method Summary
Modifier and TypeMethodDescriptionbroadcasterId
(@Nullable String broadcasterId) ID of the broadcaster receiving the payload.build()
globalBroadcast
(boolean globalBroadcast) Indicates if the message should be sent to all channels where your Extension is active.String-encoded JSON message to be sent.targets
(Collection<? extends String> targets) toString()
-
Method Details
-
target
-
targets
public SendPubSubMessageInput.SendPubSubMessageInputBuilder targets(Collection<? extends String> targets) -
clearTargets
-
broadcasterId
public SendPubSubMessageInput.SendPubSubMessageInputBuilder broadcasterId(@Nullable @Nullable String broadcasterId) ID of the broadcaster receiving the payload. This is not required if is_global_broadcast is set to true.- Returns:
this
.
-
globalBroadcast
public SendPubSubMessageInput.SendPubSubMessageInputBuilder globalBroadcast(boolean globalBroadcast) Indicates if the message should be sent to all channels where your Extension is active.Default: false.
- Returns:
this
.
-
message
String-encoded JSON message to be sent.Must not exceed 5 KB in size.
- Returns:
this
.
-
build
-
toString
-