Tăng Bình Chọn
Tăng Bình ChọnOnline contest votes in Vietnam, starting from the rules
Send a link

Who may vote in a poll when the subscribers_only flag is set

In short Only subscribers of the channel or supergroup where a poll was posted may vote in it when the poll.subscribers_only flag (flags.11) is set, according to the poll documentation. The documentation adds two conditions checked against that chat: an unset left flag, and a joining date at least 24 hours before the poll message. A separate country field restricts some polls to users in listed countries.

Published · Rules last checked · Tăng Bình Chọn

Tăng Bình Chọn brings votes through advertising channels that reach real people, and none of them break a contest's rules. Before a launch, we compare the channels with that contest's published thể lệ. Buy contest votes

The subscribers_only flag restricts voting to subscribers of the posting chat

The poll documentation states the eligibility rule in one clause: “When the poll.subscribers_only flag (flags.11) is set, only subscribers of the channel/supergroup where it was posted may vote in it.” The clause names two places where a poll can live, a channel and a supergroup, and it makes subscription to that exact chat the condition for casting a vote.

For a poll creator, the flag is one setting among those the documentation lists in the poll constructor, such as closed, public_voters, multiple_choice and hide_results_until_close. For a participant, eligibility is decided by membership of the chat where the poll was posted. The clause itself names no further condition; the two membership requirements described below are stated beside it on the same page.

Two membership conditions sit beside the flag in the documentation

The documentation evaluates both conditions against the channel constructor of the peer where the poll was posted. The first condition requires the channel.left flag (flags.2) to be unset, and the documentation adds that banned or kicked users have left set, or appear as channelForbidden with no membership at all.

The second condition is a joining period, which the documentation words as “The user joined at least 24 hours (86400 seconds) before the poll message was posted”. It writes the comparison as a difference between the posting date and the date the user joined the chat, and it names channel.date as that joining date. For forwarded polls, the documentation says to use messageFwdHeader.date instead of message.date to obtain the date when the poll was posted, and to read the original peer from messageFwdHeader.from_id. When either condition is not met, the documentation says that “clients should disable the voting UI and indicate that voting is restricted to long-time subscribers”.

Country-restricted polls use a separate field and country list

Subscription is not the only gate the documentation describes. When a poll is created with the countries_iso2 field set, to at most poll_countries_max ISO 3166-1 alpha-2 country codes, the documentation states that “only users located in one of the listed countries may vote in it”.

To decide whether the user may vote, clients compare the poll's countries_iso2 list against the user's own country code, exposed by the phone_country_iso2 configuration parameter, which the server derives from the user's phone number. If that code is not contained in the poll's countries_iso2 list, the user is not allowed to vote, and clients should disable the voting UI and indicate that voting is restricted to the poll's allowed countries.

How the documentation describes casting, closing and extending a poll

The documentation describes the voting action itself: on receiving a message with a messageMediaPoll, users vote with messages.sendVote, specifying the chosen option identifiers. The documentation also describes closing a poll early: messages.editMessage with the poll.closed flag set to true prevents further votes. The same page describes open-answer polls, in which users can add answer options after the poll has been sent, with deletion of an added answer limited to the user who added it or the poll creator.

The table below gathers the gates and settings the documentation names for a single poll, so the subscription flag can be read beside the others.

Gates and settings that the API documentation attaches to a poll
Gate or settingCondition as documentedEffect when it applies
subscribers_only flagSubscriber status in the posting chatVoting UI off; long-time subscribers only
Joined at least 24 hours before the poll was postedThe posting date minus the joining date is at least 86400 secondsVoting UI off
countries_iso2 fieldCountry code from the phone number on the allowed listVoting UI off outside the list
poll.closed flagSet true via messages.editMessageNo further votes
open_answers flagAnswer options can be added laterOnly the adder or the creator deletes

How contest organisers on other platforms check who may vote

Eligibility checks appear on other platforms as well, and the pages on Facebook and Instagram record how organisers set them.

  • On Facebook, a one-ballot-per-account setting lets the organiser verify that each vote came from an individual, logged-in account.
  • With a one-vote-per-IP setting, a later attempt from that connection is refused, which leaves everyone in a household with a single shared chance.
  • Some Facebook contests add a consent step: the vote counts only after the voter accepts the platform's authorization dialog.
  • The WeChoice Awards 2024 tied a limit of twenty-four votes a day to each account registered through a Facebook or Google sign-in.
  • An Instagram vote counts only when the account that holds the authorization is the one that starts it.

Questions and answers

Can someone who is not a subscriber vote in a subscriber-only poll?

No. The poll's own flag decides: with subscribers_only set, the subscriber group of the chat where it was posted is the only one allowed to cast a vote. Two further conditions are checked against that same chat, the left flag and the joining date. Failing either, the documentation says, clients should switch the voting interface off and indicate that voting is restricted to long-time subscribers.

Does joining the channel just before the poll was posted count?

No. The documented gap is 24 hours (86400 seconds): the joining date, which the documentation reads from channel.date, has to fall that far before the poll message was posted. For a join inside that period, the condition is not met, and the voting interface is switched off as the documentation describes.

Which posting date applies to a forwarded subscriber-only poll?

The posting date is taken from the forward header, messageFwdHeader.date, rather than from the message itself, and the original chat is read from the same header's from_id. Both membership conditions are then evaluated against that original chat. No other rule for forwarded polls is stated on the page.

Can a poll restrict voting by country as well as by subscription?

Yes. A second field, countries_iso2, can carry a list of up to poll_countries_max country codes, and a vote is then possible only for users located in one of those countries. Clients check the code derived from the voter's phone number against that list, and someone outside it is not allowed to vote.

How can a poll be closed before its scheduled end?

The documentation says to use messages.editMessage with the poll.closed flag set to true, which closes the poll early and prevents further votes. Votes are sent with messages.sendVote and the chosen option identifiers. The closed setting appears in the constructor beside subscribers_only.

The working rule is to read a poll's own flags first: the API documentation sets out who may vote in subscriber-only and country-restricted polls.