package com.bytedance.android.livesdk.model.message;

import X.GuA;
import X.HKs;
import com.bytedance.android.live.base.model.ImageModel;
import com.bytedance.android.livesdk.model.message.common.Text;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.Map;

public class BarrageMessage extends GuA {
    @c(LIZ = "event")
    public BarrageEvent LIZ;
    @c(LIZ = "msg_type")
    public int LIZIZ;
    @c(LIZ = "icon")
    public ImageModel LIZJ;
    @c(LIZ = "content")
    public Text LIZLLL;
    @c(LIZ = "duration")
    public long LJ;

    public static class BarrageEvent {
        @c(LIZ = "event_name")
        public String LIZ;
        @c(LIZ = "params")
        public Map<String, String> LIZIZ;

        static {
            Covode.recordClassIndex(19013);
        }
    }

    static {
        Covode.recordClassIndex(19012);
    }

    public int consumingStrategy() {
        return 2;
    }

    public BarrageMessage() {
        this.LJJIL = HKs.BARRAGE_MESSAGE;
    }
}
