teleproto - v1.229.0
    Preparing search index...

    Class Poll

    Hierarchy (View Summary)

    • VirtualClass<
          {
              answers: TypePollAnswer[];
              closed?: boolean;
              closeDate?: int;
              closePeriod?: int;
              countriesIso2?: string[];
              creator?: boolean;
              hash: long;
              hideResultsUntilClose?: boolean;
              id: long;
              multipleChoice?: boolean;
              openAnswers?: boolean;
              publicVoters?: boolean;
              question: TypeTextWithEntities;
              quiz?: boolean;
              revotingDisabled?: boolean;
              shuffleAnswers?: boolean;
              subscribersOnly?: boolean;
          },
      >
      • Poll
    Index
    • Parameters

      • args: {
            answers: TypePollAnswer[];
            closed?: boolean;
            closeDate?: number;
            closePeriod?: number;
            countriesIso2?: string[];
            creator?: boolean;
            hash: BigInteger;
            hideResultsUntilClose?: boolean;
            id: BigInteger;
            multipleChoice?: boolean;
            openAnswers?: boolean;
            publicVoters?: boolean;
            question: TextWithEntities;
            quiz?: boolean;
            revotingDisabled?: boolean;
            shuffleAnswers?: boolean;
            subscribersOnly?: boolean;
        }

      Returns Poll

    • Returns {
          answers: TypePollAnswer[];
          closed?: boolean;
          closeDate?: number;
          closePeriod?: number;
          countriesIso2?: string[];
          creator?: boolean;
          hash: BigInteger;
          hideResultsUntilClose?: boolean;
          id: BigInteger;
          multipleChoice?: boolean;
          openAnswers?: boolean;
          publicVoters?: boolean;
          question: TextWithEntities;
          quiz?: boolean;
          revotingDisabled?: boolean;
          shuffleAnswers?: boolean;
          subscribersOnly?: boolean;
      }

    className: string
    classType: "constructor" | "request"
    CONSTRUCTOR_ID: number
    SUBCLASS_OF_ID: number
    answers: TypePollAnswer[]
    className: "Poll"
    classType: "constructor"
    closed?: boolean
    closeDate?: number
    closePeriod?: number
    CONSTRUCTOR_ID: 2523803071
    countriesIso2?: string[]
    creator?: boolean
    hash: BigInteger
    hideResultsUntilClose?: boolean
    id: BigInteger
    multipleChoice?: boolean
    openAnswers?: boolean
    originalArgs: {
        answers: TypePollAnswer[];
        closed?: boolean;
        closeDate?: number;
        closePeriod?: number;
        countriesIso2?: string[];
        creator?: boolean;
        hash: BigInteger;
        hideResultsUntilClose?: boolean;
        id: BigInteger;
        multipleChoice?: boolean;
        openAnswers?: boolean;
        publicVoters?: boolean;
        question: TextWithEntities;
        quiz?: boolean;
        revotingDisabled?: boolean;
        shuffleAnswers?: boolean;
        subscribersOnly?: boolean;
    }
    publicVoters?: boolean
    quiz?: boolean
    revotingDisabled?: boolean
    shuffleAnswers?: boolean
    SUBCLASS_OF_ID: 613307771
    subscribersOnly?: boolean