Package org.drinkless.tdlib
Class TdApi.PollVoteRestrictionReasonCountryRestricted
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PollVoteRestrictionReason
org.drinkless.tdlib.TdApi.PollVoteRestrictionReasonCountryRestricted
- Enclosing class:
TdApi
public static class TdApi.PollVoteRestrictionReasonCountryRestricted
extends TdApi.PollVoteRestrictionReason
The user is from a country, users from which aren't allowed to vote.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.PollVoteRestrictionReason
TdApi.PollVoteRestrictionReason.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Two-letter ISO 3166-1 alpha-2 code of the current user's country. -
Constructor Summary
ConstructorsConstructorDescriptionThe user is from a country, users from which aren't allowed to vote.PollVoteRestrictionReasonCountryRestricted(String countryCode) The user is from a country, users from which aren't allowed to vote. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
countryCode
Two-letter ISO 3166-1 alpha-2 code of the current user's country. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PollVoteRestrictionReasonCountryRestricted
public PollVoteRestrictionReasonCountryRestricted()The user is from a country, users from which aren't allowed to vote. -
PollVoteRestrictionReasonCountryRestricted
The user is from a country, users from which aren't allowed to vote.- Parameters:
countryCode- Two-letter ISO 3166-1 alpha-2 code of the current user's country.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.PollVoteRestrictionReason- Returns:
- this.CONSTRUCTOR
-