public static class TdApi.ChatEvent extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
TdApi.ChatEventAction |
action
The action.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the event happened.
|
long |
id
Chat event identifier.
|
TdApi.MessageSender |
memberId
Identifier of the user or chat who performed the action.
|
Constructor and Description |
---|
ChatEvent()
Represents a chat event.
|
ChatEvent(long id,
int date,
TdApi.MessageSender memberId,
TdApi.ChatEventAction action)
Represents a chat event.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public int date
public TdApi.MessageSender memberId
public TdApi.ChatEventAction action
public static final int CONSTRUCTOR
public ChatEvent()
public ChatEvent(long id, int date, TdApi.MessageSender memberId, TdApi.ChatEventAction action)
id
- Chat event identifier.date
- Point in time (Unix timestamp) when the event happened.memberId
- Identifier of the user or chat who performed the action.action
- The action.public int getConstructor()
getConstructor
in class TdApi.Object