Package org.drinkless.tdlib
Class TdApi.GetChatMessageCalendar
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetChatMessageCalendar
-
- Enclosing class:
- TdApi
public static class TdApi.GetChatMessageCalendar extends TdApi.Function
Returns information about the next messages of the specified type in the chat split by days. Returns the results in reverse chronological order. Can return partial result for the last returned day. Behavior of this method depends on the value of the option "utc_time_offset".Returns
MessageCalendar
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdIdentifier of the chat in which to return information about messages.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.SearchMessagesFilterfilterFilter for message content.longfromMessageIdThe message identifier from which to return information about messages; use 0 to get results from the last message.
-
Constructor Summary
Constructors Constructor 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)Creates a function, which returns information about the next messages of the specified type in the chat split by days.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Identifier of the chat in which to return information about messages.
-
filter
public TdApi.SearchMessagesFilter filter
Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention and searchMessagesFilterUnreadMention are unsupported in this function.
-
fromMessageId
public long fromMessageId
The message identifier from which to return information about messages; use 0 to get results from the last message.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetChatMessageCalendar
public GetChatMessageCalendar()
Default constructor for a function, which returns information about the next messages of the specified type in the chat split by days. Returns the results in reverse chronological order. Can return partial result for the last returned day. Behavior of this method depends on the value of the option "utc_time_offset".Returns
MessageCalendar
-
GetChatMessageCalendar
public GetChatMessageCalendar(long chatId, TdApi.SearchMessagesFilter filter, long fromMessageId)Creates a function, which returns information about the next messages of the specified type in the chat split by days. Returns the results in reverse chronological order. Can return partial result for the last returned day. Behavior of this method depends on the value of the option "utc_time_offset".Returns
MessageCalendar- Parameters:
chatId- Identifier of the chat in which to return information about messages.filter- Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention and searchMessagesFilterUnreadMention 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-