GetChatEventLog class

Inheritance

Constructors

GetChatEventLog({required int chatId, required String query, required int fromEventId, required int limit, ChatEventLogFilters? filters, required List<int> userIds})
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)
const

Properties

chatId int
chatId Chat identifier
final
filters ChatEventLogFilters?
filters The types of events to return; pass null to get chat events of all types
final
fromEventId int
fromEventId Identifier of an event from which to return results. Use 0 to get results from the latest events
final
hashCode int
The hash code for this object.
no setterinherited
limit int
limit The maximum number of events to return; up to 100
final
query String
query Search query by which to filter events
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userIds List<int>
userIds User identifiers by which to filter events. By default, events relating to all users will be returned
final

Methods

copyWith({int? chatId, String? query, int? fromEventId, int? limit, ChatEventLogFilters? filters, List<int>? userIds}) GetChatEventLog
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String