Sha256: 13b5ad054e37043591327ea03c31333276456783b89a0b355f0295d2e1b2a691

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class LinksItem < Vk::Schema::Object
        # @return [Integer] Link ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [String] Link URL
        attribute :url, API::Types::Coercible::String.optional
        # @return [Integer] Information whether the link title can be edited
        attribute :edit_title, API::Types::Coercible::Int.optional
        # @return [Integer] Link title
        attribute :name, API::Types::Coercible::Int.optional
        # @return [String] Link description
        attribute :desc, API::Types::Coercible::String.optional
        # @return [String] URL of square image of the link with 50 pixels in width
        attribute :photo_50, API::Types::Coercible::String.optional
        # @return [String] URL of square image of the link with 100 pixels in width
        attribute :photo_100, API::Types::Coercible::String.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/groups/links_item.rb