-
Chat event identifier
Declaration
Swift
public let id: TDInt64
-
Point in time (Unix timestamp) when the event happened
Declaration
Swift
public let date: Int32
-
Identifier of the user who performed the action that triggered the event
Declaration
Swift
public let userId: Int32
-
Action performed by the user
Declaration
Swift
public let action: ChatEventAction
-
Represents a chat event
Declaration
Swift
public init(id: TDInt64, date: Int32, userId: Int32, action: ChatEventAction)
Parameters
id
Chat event identifier
date
Point in time (Unix timestamp) when the event happened
userId
Identifier of the user who performed the action that triggered the event
action
Action performed by the user