Sha256: 3e2a32784f65a23e8c0582c5c88584458741cb55e90ced36aa45e246ee6e6868

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 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::Coercible::Integer
    attribute :waveform, TD::Types::Coercible::String
    attribute :caption, TD::Types::FormattedText
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/input_message_content/voice_note.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_message_content/voice_note.rb