Sha256: b5d207c58a1ac1273a91482992d549c57fd89f4a8fb66c5c34c14d17319d3009

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # Allows to reorder links in the community.
        class ReorderLink < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'groups.reorderLink'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id Community ID.
          #   @option arguments [Integer] :link_id Link ID.
          #   @option arguments [Integer] :after ID of the link after which to place the link with 'link_id'.
          #   @return [Groups::Methods::ReorderLink]

          # @!group Arguments

          # @return [Integer] Community ID.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] Link ID.
          attribute :link_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the link after which to place the link with 'link_id'.
          attribute :after, API::Types::Coercible::Int.optional
        end
      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/methods/reorder_link.rb