Class: TD::Types::ChatEvent
- Defined in:
- lib/tdlib/types/chat_event.rb
Overview
Represents a chat event.
Instance Attribute Summary collapse
-
#action ⇒ TD::Types::ChatEventAction
Action performed by the user.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the event happened.
-
#id ⇒ Integer
Chat event identifier.
-
#user_id ⇒ Integer
Identifier of the user who performed the action that triggered the event.
Method Summary
Methods inherited from Base
Instance Attribute Details
#action ⇒ TD::Types::ChatEventAction
Action performed by the user.
8 9 10 |
# File 'lib/tdlib/types/chat_event.rb', line 8 def action @action end |
#date ⇒ Integer
Point in time (Unix timestamp) when the event happened.
8 9 10 |
# File 'lib/tdlib/types/chat_event.rb', line 8 def date @date end |
#id ⇒ Integer
Chat event identifier.
8 9 10 |
# File 'lib/tdlib/types/chat_event.rb', line 8 def id @id end |
#user_id ⇒ Integer
Identifier of the user who performed the action that triggered the event.
8 9 10 |
# File 'lib/tdlib/types/chat_event.rb', line 8 def user_id @user_id end |