GetChatEventLog class
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 ChatEvents.
- Inheritance
- Available Extensions
Constructors
-
GetChatEventLog({required int chat_id, required String query, required int64 from_event_id, required int limit, ChatEventLogFilters? filters, required List<
int> user_ids, int? extra, int? clientId}) - 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)
Properties
- chat_id ↔ int
-
Chat identifier.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- filters ↔ ChatEventLogFilters?
-
The types of events to return; pass null to get chat events of all types.
read / write
- from_event_id ↔ int64
-
Identifier of an event from which to return results. Use 0 to get results from the latest events.
; string representation of int, use
int.parse
read / write - hashCode → int
-
The hash code for this object.
read-onlyinherited
- limit ↔ int
-
The maximum number of events to return; up to 100.
read / write
- query ↔ String
-
Search query by which to filter events.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
user_ids
↔ List<
int> -
User identifiers by which to filter events. By default, events relating to all users will be returned.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → GetChatEventLog? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"getChatEventLog"