Package org.drinkless.tdlib
Class TdApi.ChecklistTask
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChecklistTask
- Enclosing class:
- TdApi
Describes a task in a checklist.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the user that completed the task; 0 if the task isn't completed.int
Point in time (Unix timestamp) when the task was completed; 0 if the task isn't completed.static final int
Identifier uniquely determining type of the object.int
Unique identifier of the task.Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Url, EmailAddress, Mention, Hashtag, Cashtag and PhoneNumber entities. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a task in a checklist.ChecklistTask
(int id, TdApi.FormattedText text, long completedByUserId, int completionDate) Describes a task in a checklist. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idUnique identifier of the task. -
text
Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Url, EmailAddress, Mention, Hashtag, Cashtag and PhoneNumber entities. -
completedByUserId
public long completedByUserIdIdentifier of the user that completed the task; 0 if the task isn't completed. -
completionDate
public int completionDatePoint in time (Unix timestamp) when the task was completed; 0 if the task isn't completed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChecklistTask
public ChecklistTask()Describes a task in a checklist. -
ChecklistTask
Describes a task in a checklist.- Parameters:
id
- Unique identifier of the task.text
- Text of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Url, EmailAddress, Mention, Hashtag, Cashtag and PhoneNumber entities.completedByUserId
- Identifier of the user that completed the task; 0 if the task isn't completed.completionDate
- Point in time (Unix timestamp) when the task was completed; 0 if the task isn't completed.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-