public static class TdApi.GetChatMessageCalendar extends TdApi.Function<TdApi.MessageCalendar>
Returns MessageCalendar
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat in which to return information about messages.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.SearchMessagesFilter |
filter
Filter for message content.
|
long |
fromMessageId
The message identifier from which to return information about messages; use 0 to get results from the last message.
|
long |
savedMessagesTopicId
If not0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages, or for chats other than Saved Messages.
|
| Constructor and Description |
|---|
GetChatMessageCalendar()
Default constructor for a function, which returns information about the next messages of the specified type in the chat split by days.
|
GetChatMessageCalendar(long chatId,
TdApi.SearchMessagesFilter filter,
long fromMessageId,
long savedMessagesTopicId)
Creates a function, which returns information about the next messages of the specified type in the chat split by days.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.SearchMessagesFilter filter
public long fromMessageId
public long savedMessagesTopicId
public static final int CONSTRUCTOR
public GetChatMessageCalendar()
Returns MessageCalendar
public GetChatMessageCalendar(long chatId,
TdApi.SearchMessagesFilter filter,
long fromMessageId,
long savedMessagesTopicId)
Returns MessageCalendar
chatId - Identifier of the chat in which to return information about messages.filter - Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention, searchMessagesFilterUnreadMention, and searchMessagesFilterUnreadReaction are unsupported in this function.fromMessageId - The message identifier from which to return information about messages; use 0 to get results from the last message.savedMessagesTopicId - If not0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages, or for chats other than Saved Messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object