@sudoplatform/sudo-secure-communications
    Preparing search index...

    Interface PollResponses

    The Sudo Platform SDK representation of tallied poll responses for a given poll.

    PollResponses

    interface PollResponses {
        endedAt?: number;
        talliedAnswers: Record<string, number>;
        totalVotes: number;
    }
    Index

    Properties

    endedAt?: number

    The timestamp in which the poll ended. Will be undefined if the poll is still active.

    talliedAnswers: Record<string, number>

    A record of all submitted answers and their corresponding number of votes.

    totalVotes: number

    The total number of votes for the poll.