Sha256: 880f82cec0a517340c4d253dcd48828ffb7d76370192131e1acf78e5b370194d

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

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

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Saves a photo after being successfully uploaded. URL obtained with  method.
        class SaveMessagesPhoto < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'photos.saveMessagesPhoto'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :photo Parameter returned when .
          #   @option arguments [Integer] :server @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          #   @option arguments [String] :hash @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          #   @return [Photos::Methods::SaveMessagesPhoto]

          # @!group Arguments

          # @return [String] Parameter returned when .
          attribute :photo, API::Types::Coercible::String.optional
          # @return [Integer] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          attribute :server, API::Types::Coercible::Int.optional
          # @return [String] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          attribute :hash, API::Types::Coercible::String.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/photos/methods/save_messages_photo.rb