Class: Vk::API::Messages::MessageLink

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/messages/message_link.rb

Overview

Instance Method Summary collapse

Instance Method Details

#descriptionString

Returns Link description.

Returns:

  • (String)

    Link description


15
# File 'lib/vk/api/messages/message_link.rb', line 15

attribute :description, API::Types::Coercible::String.optional.default(nil)

#image_srcString

Returns URL of the preview image.

Returns:

  • (String)

    URL of the preview image


17
# File 'lib/vk/api/messages/message_link.rb', line 17

attribute :image_src, API::Types::Coercible::String.optional.default(nil)

#titleString

Returns Link title.

Returns:

  • (String)

    Link title


13
# File 'lib/vk/api/messages/message_link.rb', line 13

attribute :title, API::Types::Coercible::String.optional.default(nil)

#urlString

Returns Link URL.

Returns:

  • (String)

    Link URL


11
# File 'lib/vk/api/messages/message_link.rb', line 11

attribute :url, API::Types::Coercible::String.optional.default(nil)