Sha256: f058fb93eea0327dc66709a69331fa907823b6bd3aa14f00c01d66c44313d9f1

Contents?: true

Size: 921 Bytes

Versions: 1

Compression:

Stored size: 921 Bytes

Contents

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

module Vk
  module API
    class Messages < Vk::Schema::Namespace
      module Methods
        # Sets a previously-uploaded picture as the cover picture of a chat.
        class SetChatPhoto < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'messages.setChatPhoto'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :file Upload URL from the 'response' field returned by the  method upon successfully uploading an image.
          #   @return [Messages::Methods::SetChatPhoto]

          # @!group Arguments

          # @return [String] Upload URL from the 'response' field returned by the  method upon successfully uploading an image.
          attribute :file, 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/messages/methods/set_chat_photo.rb