public static class TdApi.Chat extends TdApi.TLObject
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining TL-type of object
|
long |
id
Chat unique identifier.
|
int |
lastReadInboxMessageId
Identifier of last read incoming message.
|
int |
lastReadOutboxMessageId
Identifier of last read outgoing message.
|
TdApi.NotificationSettings |
notificationSettings
Notification settings for this chat.
|
long |
order
Parameter by descending of which chats are sorted in the chat list.
|
TdApi.ChatPhoto |
photo
Chat photo.
|
int |
replyMarkupMessageId
Identifier of message from which reply markup need to be used or 0 if there is no default custom reply markup in the chat.
|
java.lang.String |
title
Chat title.
|
TdApi.Message |
topMessage
Last message in the chat.
|
TdApi.ChatInfo |
type
Information about type of the chat.
|
int |
unreadCount
Count of unread messages in the chat.
|
Constructor and Description |
---|
Chat()
Default constructor.
|
Chat(long id,
java.lang.String title,
TdApi.ChatPhoto photo,
TdApi.Message topMessage,
long order,
int unreadCount,
int lastReadInboxMessageId,
int lastReadOutboxMessageId,
TdApi.NotificationSettings notificationSettings,
int replyMarkupMessageId,
TdApi.ChatInfo type)
Constructor for initialization of all fields.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public java.lang.String title
public TdApi.ChatPhoto photo
public TdApi.Message topMessage
public long order
public int unreadCount
public int lastReadInboxMessageId
public int lastReadOutboxMessageId
public TdApi.NotificationSettings notificationSettings
public int replyMarkupMessageId
public TdApi.ChatInfo type
public static final int CONSTRUCTOR
public Chat()
public Chat(long id, java.lang.String title, TdApi.ChatPhoto photo, TdApi.Message topMessage, long order, int unreadCount, int lastReadInboxMessageId, int lastReadOutboxMessageId, TdApi.NotificationSettings notificationSettings, int replyMarkupMessageId, TdApi.ChatInfo type)
public int getConstructor()
getConstructor
in class TdApi.TLObject