Skip to content

getChatEventLog

Function · TDLib 1.8.67 · d1085f9c

Returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only in supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i.e., in order of decreasing event_id)

getChatEventLog(
  chat_id: int53,
  query: string,
  from_event_id: int64,
  limit: int32,
  filters: ChatEventLogFilters,
  user_ids: list of int53
) → ChatEvents

chat_id

int53

Chat identifier

query

string

Search query by which to filter events

from_event_id

int64

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

limit

int32

The maximum number of events to return; up to 100

filters

ChatEventLogFilters

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

user_ids

list of int53

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