public static class TdApi.SavedMessagesTopic extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.DraftMessage |
draftMessage
A draft of a message in the topic; may be null if none.
|
long |
id
Unique topic identifier.
|
boolean |
isPinned
True, if the topic is pinned.
|
TdApi.Message |
lastMessage
Last message in the topic; may be null if none or unknown.
|
long |
order
A parameter used to determine order of the topic in the topic list.
|
TdApi.SavedMessagesTopicType |
type
Type of the topic.
|
| Constructor and Description |
|---|
SavedMessagesTopic()
Contains information about a Saved Messages topic.
|
SavedMessagesTopic(long id,
TdApi.SavedMessagesTopicType type,
boolean isPinned,
long order,
TdApi.Message lastMessage,
TdApi.DraftMessage draftMessage)
Contains information about a Saved Messages topic.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public TdApi.SavedMessagesTopicType type
public boolean isPinned
public long order
public TdApi.Message lastMessage
public TdApi.DraftMessage draftMessage
public static final int CONSTRUCTOR
public SavedMessagesTopic()
public SavedMessagesTopic(long id,
TdApi.SavedMessagesTopicType type,
boolean isPinned,
long order,
TdApi.Message lastMessage,
TdApi.DraftMessage draftMessage)
id - Unique topic identifier.type - Type of the topic.isPinned - True, if the topic is pinned.order - A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.lastMessage - Last message in the topic; may be null if none or unknown.draftMessage - A draft of a message in the topic; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object