public static class TdApi.ViewMessages extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
forceRead
True, if messages in closed chats should be marked as read.
|
long[] |
messageIds
The identifiers of the messages being viewed.
|
Constructor and Description |
---|
ViewMessages()
Default constructor for a function, which informs TDLib that messages are being viewed by the user.
|
ViewMessages(long chatId,
long[] messageIds,
boolean forceRead)
Creates a function, which informs TDLib that messages are being viewed by the user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long[] messageIds
public boolean forceRead
public static final int CONSTRUCTOR
public ViewMessages()
Returns Ok
public ViewMessages(long chatId, long[] messageIds, boolean forceRead)
Returns Ok
chatId
- Chat identifier.messageIds
- The identifiers of the messages being viewed.forceRead
- True, if messages in closed chats should be marked as read.public int getConstructor()
getConstructor
in class TdApi.Function