Class: TD::Types::MessageContent::VoiceChatEnded

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/voice_chat_ended.rb

Overview

A message with information about an ended voice chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#durationInteger

Call duration.

Returns:

  • (Integer)

    the current value of duration



5
6
7
# File 'lib/tdlib/types/message_content/voice_chat_ended.rb', line 5

def duration
  @duration
end