public static class TdApi.OpenMessageContent extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier of the message.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the message with the opened content.
|
Constructor and Description |
---|
OpenMessageContent()
Default constructor for a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
|
OpenMessageContent(long chatId,
long messageId)
Creates a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public static final int CONSTRUCTOR
public OpenMessageContent()
Returns Ok
public OpenMessageContent(long chatId, long messageId)
Returns Ok
chatId
- Chat identifier of the message.messageId
- Identifier of the message with the opened content.public int getConstructor()
getConstructor
in class TdApi.Function