Sha256: b0230e833b1bfbbf21e4980f61e68f956c3add66bfee5c79814886396138d7d9

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 Bytes

Contents

module TD::Types
  # A voice note message.
  #
  # @attr voice_note [TD::Types::VoiceNote, nil] Message content; may be null.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::VoiceNote < PushMessageContent
    attribute :voice_note, TD::Types::VoiceNote.optional.default(nil)
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/push_message_content/voice_note.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content/voice_note.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content/voice_note.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/voice_note.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/voice_note.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/voice_note.rb