TDLib
Loading...
Searching...
No Matches
chatEventLogFilters Class Referencefinal

Inherits Object.

Description

Represents a set of filters used to obtain a chat event log.

Public Member Functions

 chatEventLogFilters ()
 chatEventLogFilters (bool message_edits_, bool message_deletions_, bool message_pins_, bool member_joins_, bool member_leaves_, bool member_invites_, bool member_promotions_, bool member_restrictions_, bool member_tag_changes_, bool info_changes_, bool setting_changes_, bool invite_link_changes_, bool video_chat_changes_, bool forum_changes_, bool subscription_extensions_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

bool forum_changes_
 True, if forum-related actions need to be returned.
bool info_changes_
 True, if changes in chat information need to be returned.
bool invite_link_changes_
 True, if changes to invite links need to be returned.
bool member_invites_
 True, if invited member events need to be returned.
bool member_joins_
 True, if members joining events need to be returned.
bool member_leaves_
 True, if members leaving events need to be returned.
bool member_promotions_
 True, if member promotion/demotion events need to be returned.
bool member_restrictions_
 True, if member restricted/unrestricted/banned/unbanned events need to be returned.
bool member_tag_changes_
 True, if member tag and custom title change events need to be returned.
bool message_deletions_
 True, if message deletions need to be returned.
bool message_edits_
 True, if message edits need to be returned.
bool message_pins_
 True, if pin/unpin events need to be returned.
bool setting_changes_
 True, if changes in chat settings need to be returned.
bool subscription_extensions_
 True, if subscription extensions need to be returned.
bool video_chat_changes_
 True, if video chat actions need to be returned.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatEventLogFilters() [1/2]

chatEventLogFilters ( )

Represents a set of filters used to obtain a chat event log.

◆ chatEventLogFilters() [2/2]

chatEventLogFilters ( bool message_edits_,
bool message_deletions_,
bool message_pins_,
bool member_joins_,
bool member_leaves_,
bool member_invites_,
bool member_promotions_,
bool member_restrictions_,
bool member_tag_changes_,
bool info_changes_,
bool setting_changes_,
bool invite_link_changes_,
bool video_chat_changes_,
bool forum_changes_,
bool subscription_extensions_ )

Represents a set of filters used to obtain a chat event log.

Parameters
[in]message_edits_True, if message edits need to be returned.
[in]message_deletions_True, if message deletions need to be returned.
[in]message_pins_True, if pin/unpin events need to be returned.
[in]member_joins_True, if members joining events need to be returned.
[in]member_leaves_True, if members leaving events need to be returned.
[in]member_invites_True, if invited member events need to be returned.
[in]member_promotions_True, if member promotion/demotion events need to be returned.
[in]member_restrictions_True, if member restricted/unrestricted/banned/unbanned events need to be returned.
[in]member_tag_changes_True, if member tag and custom title change events need to be returned.
[in]info_changes_True, if changes in chat information need to be returned.
[in]setting_changes_True, if changes in chat settings need to be returned.
[in]invite_link_changes_True, if changes to invite links need to be returned.
[in]video_chat_changes_True, if video chat actions need to be returned.
[in]forum_changes_True, if forum-related actions need to be returned.
[in]subscription_extensions_True, if subscription extensions need to be returned.

Member Function Documentation

◆ store()

void 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 TlObject.


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