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

com.github.twitch4j.chat.events.channel.MessageDeleteError Maven / Gradle / Ivy

The newest version!
package com.github.twitch4j.chat.events.channel;

import com.github.twitch4j.chat.events.AbstractChannelEvent;
import com.github.twitch4j.common.events.domain.EventChannel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import lombok.Value;
import org.jetbrains.annotations.ApiStatus;

/**
 * Failed to delete a message
 *
 * @deprecated With chat commands decommissioned, this event is no longer fired; migrate to {@code TwitchHelix#deleteChatMessages}.
 */
@Value
@Getter
@EqualsAndHashCode(callSuper = false)
@ToString
@Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.0.0")
public class MessageDeleteError extends AbstractChannelEvent {

    /**
     * Event Constructor
     *
     * @param channel       The channel that this event originates from.
     */
    public MessageDeleteError(EventChannel channel) {
        super(channel);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy