package com.bytedance.android.live.poll;

import X.3Pg;
import X.8qk;
import X.C36151c5;
import X.GT7;
import X.GTF;
import X.GTG;
import X.IUt;
import X.JM9;
import X.PUr;
import X.PUt;
import X.PgU;
import com.bytedance.android.livesdk.model.VoteResponseData;
import com.bytedance.covode.number.Covode;

public interface PollApi {
    static {
        Covode.recordClassIndex(9745);
    }

    @IUt(LIZ = "/webcast/room/poll/end")
    PgU<C36151c5<GTF>> endPoll(@PUt(LIZ = "room_id") long j, @PUt(LIZ = "poll_id") long j2, @PUt(LIZ = "end_type") int i);

    @IUt(LIZ = "/webcast/room/poll/latest")
    PgU<C36151c5<GTG>> getPollHistory(@PUt(LIZ = "room_id") long j);

    @IUt(LIZ = "/webcast/room/poll/start")
    PgU<C36151c5<GT7>> startPoll(@PUt(LIZ = "room_id") long j, @PUt(LIZ = "option_list") String str, @PUt(LIZ = "duration_ms") long j2, @PUt(LIZ = "kind") int i);

    @8qk
    @JM9(LIZ = "/webcast/room/poll/vote")
    3Pg<C36151c5<VoteResponseData>> vote(@PUr(LIZ = "room_id") long j, @PUr(LIZ = "poll_id") long j2, @PUr(LIZ = "option_index") int i);
}
