Method: TD::Types::InputMessageContent::VoiceNote#duration

Defined in:
lib/tdlib/types/input_message_content/voice_note.rb

#durationInteger

Duration of the voice note, in seconds.

Returns:

  • (Integer)

    the current value of duration



8
9
10
# File 'lib/tdlib/types/input_message_content/voice_note.rb', line 8

def duration
  @duration
end