Package org.drinkless.tdlib
Class TdApi.PollVoteRestrictionReasonMembershipRequired
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PollVoteRestrictionReason
org.drinkless.tdlib.TdApi.PollVoteRestrictionReasonMembershipRequired
- Enclosing class:
TdApi
public static class TdApi.PollVoteRestrictionReasonMembershipRequired
extends TdApi.PollVoteRestrictionReason
The user must be a member of the chat for at least a day to vote.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.PollVoteRestrictionReason
TdApi.PollVoteRestrictionReason.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat which must be joined for at least a day before the user can vote.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionThe user must be a member of the chat for at least a day to vote.PollVoteRestrictionReasonMembershipRequired(long chatId) The user must be a member of the chat for at least a day 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
-
chatId
public long chatIdIdentifier of the chat which must be joined for at least a day before the user can vote. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PollVoteRestrictionReasonMembershipRequired
public PollVoteRestrictionReasonMembershipRequired()The user must be a member of the chat for at least a day to vote. -
PollVoteRestrictionReasonMembershipRequired
public PollVoteRestrictionReasonMembershipRequired(long chatId) The user must be a member of the chat for at least a day to vote.- Parameters:
chatId- Identifier of the chat which must be joined for at least a day before the user can vote.
-
-
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
-