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

discord4j.discordjson.json.gateway.ChannelUpdate Maven / Gradle / Ivy

There is a newer version: 1.7.9
Show newest version
package discord4j.discordjson.json.gateway;

import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.json.ChannelData;
import org.immutables.value.Value;

@Value.Immutable
@JsonSerialize(as = ImmutableChannelUpdate.class)
@JsonDeserialize(as = ImmutableChannelUpdate.class)
public interface ChannelUpdate extends Dispatch {

    static ImmutableChannelUpdate.Builder builder() {
        return ImmutableChannelUpdate.builder();
    }

    @JsonUnwrapped
    ChannelData channel();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy