pub async fn get_chat_event_log(
chat_id: i64,
query: String,
from_event_id: i64,
limit: i32,
filters: Option<ChatEventLogFilters>,
user_ids: Vec<i64>,
client_id: i32,
) -> Result<ChatEvents, Error>
Expand description
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)
ยงArguments
chat_id
- Chat identifierquery
- Search query by which to filter eventsfrom_event_id
- Identifier of an event from which to return results. Use 0 to get results from the latest eventslimit
- The maximum number of events to return; up to 100filters
- The types of events to return; pass null to get chat events of all typesuser_ids
- User identifiers by which to filter events. By default, events relating to all users will be returnedclient_id
- The client id to send the request to