GetChatEventLog
public struct GetChatEventLog : Codable, Equatable, TDFunction
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)
-
Undocumented
Declaration
Swift
public typealias Result = ChatEvents -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
Search query by which to filter events
Declaration
Swift
public let query: String -
Identifier of an event from which to return results. Use 0 to get results from the latest events
Declaration
Swift
public let fromEventId: TDInt64 -
The maximum number of events to return; up to 100
Declaration
Swift
public let limit: Int32 -
The types of events to return. By default, all types will be returned
Declaration
Swift
public let filters: ChatEventLogFilters -
User identifiers by which to filter events. By default, events relating to all users will be returned
Declaration
Swift
public let userIds: [Int32] -
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)
Declaration
Swift
public init(chatId: Int53, query: String, fromEventId: TDInt64, limit: Int32, filters: ChatEventLogFilters, userIds: [Int32])Parameters
chatIdChat identifier
querySearch query by which to filter events
fromEventIdIdentifier of an event from which to return results. Use 0 to get results from the latest events
limitThe maximum number of events to return; up to 100
filtersThe types of events to return. By default, all types will be returned
userIdsUser identifiers by which to filter events. By default, events relating to all users will be returned
View on GitHub
Install in Dash
GetChatEventLog Structure Reference