public static class TdApi.MessagePosition extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the message was sent.
|
long |
messageId
Message identifier.
|
int |
position
0-based message position in the full list of suitable messages.
|
| Constructor and Description |
|---|
MessagePosition()
Contains information about a message in a specific position.
|
MessagePosition(int position,
long messageId,
int date)
Contains information about a message in a specific position.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int position
public long messageId
public int date
public static final int CONSTRUCTOR
public MessagePosition()
public MessagePosition(int position,
long messageId,
int date)
position - 0-based message position in the full list of suitable messages.messageId - Message identifier.date - Point in time (Unix timestamp) when the message was sent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object