tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::getChatMessageCalendar Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::getChatMessageCalendar:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< messageCalendar >
 Typedef for the type returned by the function.
 

Public Member Functions

 getChatMessageCalendar ()
 
 getChatMessageCalendar (int53 chat_id_, object_ptr< MessageTopic > &&topic_id_, object_ptr< SearchMessagesFilter > &&filter_, int53 from_message_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int53 chat_id_
 Identifier of the chat in which to return information about messages.
 
object_ptr< MessageTopictopic_id_
 Pass topic identifier to get the result only in specific topic; pass null to get the result in all topics; forum topics and message threads aren&#x27;t supported.
 
object_ptr< SearchMessagesFilterfilter_
 Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterUnreadPollVote are unsupported in this function.
 
int53 from_message_id_
 The message identifier from which to return information about messages; use 0 to get results from the last message.
 

Static Public Attributes

static const std::int32_t ID = 1644001372
 Identifier uniquely determining a type of the object.
 

Detailed Description

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 object_ptr<MessageCalendar>.

Definition at line 103098 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 103140 of file td_api.h.

Constructor & Destructor Documentation

◆ getChatMessageCalendar() [1/2]

td::td_api::getChatMessageCalendar::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 object_ptr<MessageCalendar>.

◆ getChatMessageCalendar() [2/2]

td::td_api::getChatMessageCalendar::getChatMessageCalendar ( int53  chat_id_,
object_ptr< MessageTopic > &&  topic_id_,
object_ptr< SearchMessagesFilter > &&  filter_,
int53  from_message_id_ 
)

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 object_ptr<MessageCalendar>.

Parameters
[in]chat_id_Identifier of the chat in which to return information about messages.
[in]topic_id_Pass topic identifier to get the result only in specific topic; pass null to get the result in all topics; forum topics and message threads aren&#x27;t supported.
[in]filter_Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterUnreadPollVote are unsupported in this function.
[in]from_message_id_The message identifier from which to return information about messages; use 0 to get results from the last message.

Member Function Documentation

◆ store()

void td::td_api::getChatMessageCalendar::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ chat_id_

int53 td::td_api::getChatMessageCalendar::chat_id_

Identifier of the chat in which to return information about messages.

Definition at line 103109 of file td_api.h.

◆ filter_

object_ptr<SearchMessagesFilter> td::td_api::getChatMessageCalendar::filter_

Filter for message content. Filters searchMessagesFilterEmpty, searchMessagesFilterMention, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterUnreadPollVote are unsupported in this function.

Definition at line 103113 of file td_api.h.

◆ from_message_id_

int53 td::td_api::getChatMessageCalendar::from_message_id_

The message identifier from which to return information about messages; use 0 to get results from the last message.

Definition at line 103115 of file td_api.h.

◆ ID

const std::int32_t td::td_api::getChatMessageCalendar::ID = 1644001372
static

Identifier uniquely determining a type of the object.

Definition at line 103137 of file td_api.h.

◆ topic_id_

object_ptr<MessageTopic> td::td_api::getChatMessageCalendar::topic_id_

Pass topic identifier to get the result only in specific topic; pass null to get the result in all topics; forum topics and message threads aren&#x27;t supported.

Definition at line 103111 of file td_api.h.


The documentation for this class was generated from the following file: