TDLib
|
Inherits td::td_api::Function.
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_) | |
std::int32_t | get_id () const final |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (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< chatEventLogFilters > | filters_ |
The types of events to return; pass null to get chat events of all types. | |
array< int53 > | user_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. | |
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>.
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>.
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>.
[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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.