Interface GetChatEventLog

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). Request type for Tdjson#getChatEventLog.

interface GetChatEventLog {
    @type: "getChatEventLog";
    chat_id: number;
    filters: ChatEventLogFilters;
    from_event_id: string;
    limit: number;
    query: string;
    user_ids: number[];
}

Properties

@type: "getChatEventLog"
chat_id: number

Chat identifier.

The types of events to return; pass null to get chat events of all types.

from_event_id: string

Identifier of an event from which to return results. Use 0 to get results from the latest events.

limit: number

The maximum number of events to return; up to 100.

query: string

Search query by which to filter events.

user_ids: number[]

User identifiers by which to filter events. By default, events relating to all users will be returned.