Class: TD::Types::MessageContent::Call
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Call
- Defined in:
- lib/tdlib/types/message_content/call.rb
Overview
A message with information about an ended call.
Instance Attribute Summary collapse
-
#discard_reason ⇒ TD::Types::CallDiscardReason
Reason why the call was discarded.
-
#duration ⇒ Integer
Call duration, in seconds.
-
#is_video ⇒ Boolean
True, if the call was a video call.
Method Summary
Methods inherited from Base
Instance Attribute Details
#discard_reason ⇒ TD::Types::CallDiscardReason
Reason why the call was discarded.
7 8 9 |
# File 'lib/tdlib/types/message_content/call.rb', line 7 def discard_reason @discard_reason end |
#duration ⇒ Integer
Call duration, in seconds.
7 8 9 |
# File 'lib/tdlib/types/message_content/call.rb', line 7 def duration @duration end |
#is_video ⇒ Boolean
True, if the call was a video call.
7 8 9 |
# File 'lib/tdlib/types/message_content/call.rb', line 7 def is_video @is_video end |