Package org.drinkless.tdlib
Class TdApi.MessageViewer
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageViewer
- Enclosing class:
- TdApi
Represents a viewer of a message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longUser identifier of the viewer.intApproximate point in time (Unix timestamp) when the message was viewed. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a viewer of a message.MessageViewer(long userId, int viewDate) Represents a viewer of a message. -
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
-
userId
public long userIdUser identifier of the viewer. -
viewDate
public int viewDateApproximate point in time (Unix timestamp) when the message was viewed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageViewer
public MessageViewer()Represents a viewer of a message. -
MessageViewer
public MessageViewer(long userId, int viewDate) Represents a viewer of a message.- Parameters:
userId- User identifier of the viewer.viewDate- Approximate point in time (Unix timestamp) when the message was viewed.
-
-
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
-