- Enclosing class:
- TdApi
public static final class TdApi.GetChatMessageCalendar
extends TdApi.Function<TdApi.MessageCalendar>
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
Modifier and TypeFieldDescriptionlong
Identifier of the chat in which to return information about messages.static final int
Identifier uniquely determining type of the object.Filter for message content.long
The message identifier from which to return information about messages; use 0 to get results from the last message. -
Constructor Summary
ConstructorDescriptionReturns information about the next messages of the specified type in the chat split by days.GetChatMessageCalendar
(long chatId, TdApi.SearchMessagesFilter filter, long fromMessageId) Returns information about the next messages of the specified type in the chat split by days.GetChatMessageCalendar
(DataInput input) Returns information about the next messages of the specified type in the chat split by days. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier 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
public long fromMessageIdThe message identifier from which to return information about messages; use 0 to get results from the last message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatMessageCalendar
public GetChatMessageCalendar()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
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, 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.Returns
MessageCalendar
-
GetChatMessageCalendar
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:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-