ChatEventLogFilters class final
Represents a set of filters used to obtain a chat event log
Constructors
- ChatEventLogFilters({required bool messageEdits, required bool messageDeletions, required bool messagePins, required bool memberJoins, required bool memberLeaves, required bool memberInvites, required bool memberPromotions, required bool memberRestrictions, required bool infoChanges, required bool settingChanges, required bool inviteLinkChanges, required bool videoChatChanges, required bool forumChanges})
-
Represents a set of filters used to obtain a chat event log
const
-
ChatEventLogFilters.fromJson(Map<
String, dynamic> json) -
Parses a ChatEventLogFilters from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- forumChanges → bool
-
True, if forum-related actions need to be returned
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoChanges → bool
-
True, if changes in chat information need to be returned
final
- inviteLinkChanges → bool
-
True, if changes to invite links need to be returned
final
- memberInvites → bool
-
True, if invited member events need to be returned
final
- memberJoins → bool
-
True, if members joining events need to be returned
final
- memberLeaves → bool
-
True, if members leaving events need to be returned
final
- memberPromotions → bool
-
True, if member promotion/demotion events need to be returned
final
- memberRestrictions → bool
-
True, if member restricted/unrestricted/banned/unbanned events need to be returned
final
- messageDeletions → bool
-
True, if message deletions need to be returned
final
- messageEdits → bool
-
True, if message edits need to be returned
final
- messagePins → bool
-
True, if pin/unpin events need to be returned
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settingChanges → bool
-
True, if changes in chat settings need to be returned
final
- videoChatChanges → bool
-
True, if video chat actions need to be returned
final
Methods
-
copyWith(
{bool? messageEdits, bool? messageDeletions, bool? messagePins, bool? memberJoins, bool? memberLeaves, bool? memberInvites, bool? memberPromotions, bool? memberRestrictions, bool? infoChanges, bool? settingChanges, bool? inviteLinkChanges, bool? videoChatChanges, bool? forumChanges}) → ChatEventLogFilters -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.