All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.twitch4j.common.events.channel.ChannelGoLiveEvent Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
package com.github.twitch4j.common.events.channel;

import com.github.twitch4j.common.events.TwitchEvent;
import com.github.twitch4j.common.events.domain.EventChannel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Value;

/**
 * This event gets called when a channel goes live
 */
@Value
@Getter
@EqualsAndHashCode(callSuper = false)
@Deprecated
public class ChannelGoLiveEvent extends TwitchEvent {

    /**
     * Channel
     */
    private final EventChannel channel;

    /**
     * Title
     */
    private final String title;

    /**
     * GameId
     */
    private final String gameId;

    /**
     * Event Constructor
     *
     * @param channel        The channel that went live
     * @param title          The stream title
     * @param gameId         The gameId
     */
    public ChannelGoLiveEvent(EventChannel channel, String title, String gameId) {
        this.channel = channel;
        this.title = title;
        this.gameId = gameId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy