Class: Vk::API::Messages::Methods::GetById

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/messages/methods/get_by_id.rb

Overview

Returns messages by their IDs.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Messages::Methods::GetById

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :message_ids (Array)

    Message IDs.


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

Instance Method Details

#message_idsArray

Returns Message IDs.

Returns:

  • (Array)

    Message IDs.


23
# File 'lib/vk/api/messages/methods/get_by_id.rb', line 23

attribute :message_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).constrained(max_size: 100)