Package org.drinkless.tdlib
Class TdApi.PollOptionProperties
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PollOptionProperties
- Enclosing class:
TdApi
Contains properties of a poll option and describes actions that can be done with the option right now.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the option can be deleted using deletePollOption.booleanTrue, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.booleanTrue, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.booleanTrue, if a link can be generated for the poll option using getMessageLink.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionContains properties of a poll option and describes actions that can be done with the option right now.PollOptionProperties(boolean canBeDeleted, boolean canBeReplied, boolean canBeRepliedInAnotherChat, boolean canGetLink) Contains properties of a poll option and describes actions that can be done with the option right now. -
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
-
canBeDeleted
public boolean canBeDeletedTrue, if the option can be deleted using deletePollOption. -
canBeReplied
public boolean canBeRepliedTrue, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage. -
canBeRepliedInAnotherChat
public boolean canBeRepliedInAnotherChatTrue, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage. -
canGetLink
public boolean canGetLinkTrue, if a link can be generated for the poll option using getMessageLink. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PollOptionProperties
public PollOptionProperties()Contains properties of a poll option and describes actions that can be done with the option right now. -
PollOptionProperties
public PollOptionProperties(boolean canBeDeleted, boolean canBeReplied, boolean canBeRepliedInAnotherChat, boolean canGetLink) Contains properties of a poll option and describes actions that can be done with the option right now.- Parameters:
canBeDeleted- True, if the option can be deleted using deletePollOption.canBeReplied- True, if the poll option can be replied in the same chat and forum topic using inputMessageReplyToMessage.canBeRepliedInAnotherChat- True, if the poll option can be replied in another chat or forum topic using inputMessageReplyToExternalMessage.canGetLink- True, if a link can be generated for the poll option using getMessageLink.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-