public static class TdApi.PushMessageContentDocument extends TdApi.PushMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Document |
document
Message content; may be null.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
| Constructor and Description |
|---|
PushMessageContentDocument()
A document message (a general file).
|
PushMessageContentDocument(TdApi.Document document,
boolean isPinned)
A document message (a general file).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Document document
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentDocument()
public PushMessageContentDocument(TdApi.Document document, boolean isPinned)
document - Message content; may be null.isPinned - True, if the message is a pinned message with the specified content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object