Sha256: 78da74276540991fac1d9d6b91d3282154ba50fca39b08e3bbad4f93f49abce1

Contents?: true

Size: 645 Bytes

Versions: 4

Compression:

Stored size: 645 Bytes

Contents

module TD::Types
  # A voice note message.
  #
  # @attr voice_note [TD::Types::InputFile] Voice note to be sent.
  # @attr duration [Integer] Duration of the voice note, in seconds.
  # @attr waveform [String] Waveform representation of the voice note, in 5-bit format.
  # @attr caption [TD::Types::FormattedText] Voice note caption; 0-GetOption("message_caption_length_max") characters.
  class InputMessageContent::VoiceNote < InputMessageContent
    attribute :voice_note, TD::Types::InputFile
    attribute :duration, TD::Types::Integer
    attribute :waveform, TD::Types::String
    attribute :caption, TD::Types::FormattedText
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/input_message_content/voice_note.rb
tdlib-ruby-2.2.0 lib/tdlib/types/input_message_content/voice_note.rb
tdlib-ruby-2.1.0 lib/tdlib/types/input_message_content/voice_note.rb
tdlib-ruby-2.0.0 lib/tdlib/types/input_message_content/voice_note.rb