public static class TdApi.GetChatEventLog extends TdApi.Function
Returns ChatEvents
TdApi.Function.Constructors| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatEventLogFilters |
filters
The types of events to return.
|
long |
fromEventId
Identifier of an event from which to return results.
|
int |
limit
The maximum number of events to return; up to 100.
|
java.lang.String |
query
Search query by which to filter events.
|
int[] |
userIds
User identifiers by which to filter events.
|
| Constructor and Description |
|---|
GetChatEventLog()
Default constructor for a function, which returns a list of service actions taken by chat members and administrators in the last 48 hours.
|
GetChatEventLog(long chatId,
java.lang.String query,
long fromEventId,
int limit,
TdApi.ChatEventLogFilters filters,
int[] userIds)
Creates a function, which returns a list of service actions taken by chat members and administrators in the last 48 hours.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic long chatId
public java.lang.String query
public long fromEventId
public int limit
public TdApi.ChatEventLogFilters filters
public int[] userIds
public static final int CONSTRUCTOR
public GetChatEventLog()
Returns ChatEvents
public GetChatEventLog(long chatId,
java.lang.String query,
long fromEventId,
int limit,
TdApi.ChatEventLogFilters filters,
int[] userIds)
Returns ChatEvents
chatId - Chat identifier.query - Search query by which to filter events.fromEventId - Identifier of an event from which to return results. Use 0 to get results from the latest events.limit - The maximum number of events to return; up to 100.filters - The types of events to return. By default, all types will be returned.userIds - User identifiers by which to filter events. By default, events relating to all users will be returned.public int getConstructor()
getConstructor in class TdApi.Function