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::getChatEventLog Class Referencefinal

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

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

Public Types

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

Public Member Functions

 getChatEventLog ()
 
 getChatEventLog (int53 chat_id_, string const &query_, int64 from_event_id_, int32 limit_, object_ptr< chatEventLogFilters > &&filters_, array< int53 > &&user_ids_)
 
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_
 Chat identifier.
 
string query_
 Search query by which to filter events.
 
int64 from_event_id_
 Identifier of an event from which to return results. Use 0 to get results from the latest events.
 
int32 limit_
 The maximum number of events to return; up to 100.
 
object_ptr< chatEventLogFiltersfilters_
 The types of events to return; pass null to get chat events of all types.
 
array< int53user_ids_
 User identifiers by which to filter events. By default, events relating to all users will be returned.
 

Static Public Attributes

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

Detailed Description

Returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only for supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i.e., in order of decreasing event_id).

Returns object_ptr<ChatEvents>.

Definition at line 102209 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 102257 of file td_api.h.

Constructor & Destructor Documentation

◆ getChatEventLog() [1/2]

td::td_api::getChatEventLog::getChatEventLog ( )

Default constructor for a function, which returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only for supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i.e., in order of decreasing event_id).

Returns object_ptr<ChatEvents>.

◆ getChatEventLog() [2/2]

td::td_api::getChatEventLog::getChatEventLog ( int53  chat_id_,
string const &  query_,
int64  from_event_id_,
int32  limit_,
object_ptr< chatEventLogFilters > &&  filters_,
array< int53 > &&  user_ids_ 
)

Creates a function, which returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only for supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i.e., in order of decreasing event_id).

Returns object_ptr<ChatEvents>.

Parameters
[in]chat_id_Chat identifier.
[in]query_Search query by which to filter events.
[in]from_event_id_Identifier of an event from which to return results. Use 0 to get results from the latest events.
[in]limit_The maximum number of events to return; up to 100.
[in]filters_The types of events to return; pass null to get chat events of all types.
[in]user_ids_User identifiers by which to filter events. By default, events relating to all users will be returned.

Member Function Documentation

◆ store()

void td::td_api::getChatEventLog::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::getChatEventLog::chat_id_

Chat identifier.

Definition at line 102220 of file td_api.h.

◆ filters_

object_ptr<chatEventLogFilters> td::td_api::getChatEventLog::filters_

The types of events to return; pass null to get chat events of all types.

Definition at line 102228 of file td_api.h.

◆ from_event_id_

int64 td::td_api::getChatEventLog::from_event_id_

Identifier of an event from which to return results. Use 0 to get results from the latest events.

Definition at line 102224 of file td_api.h.

◆ ID

const std::int32_t td::td_api::getChatEventLog::ID = -1281344669
static

Identifier uniquely determining a type of the object.

Definition at line 102254 of file td_api.h.

◆ limit_

int32 td::td_api::getChatEventLog::limit_

The maximum number of events to return; up to 100.

Definition at line 102226 of file td_api.h.

◆ query_

string td::td_api::getChatEventLog::query_

Search query by which to filter events.

Definition at line 102222 of file td_api.h.

◆ user_ids_

array<int53> td::td_api::getChatEventLog::user_ids_

User identifiers by which to filter events. By default, events relating to all users will be returned.

Definition at line 102230 of file td_api.h.


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