Class: Vk::API::Secure::Methods::GetSmsHistory

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

Overview

Shows a list of SMS notifications sent by the application using method.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Secure::Methods::GetSmsHistory

Parameters:

  • arguments (Hash)

Options Hash (arguments):


# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 15

Instance Method Details

#date_fromInteger

Returns filter by start date. It is set as UNIX-time.

Returns:

  • (Integer)

    filter by start date. It is set as UNIX-time.


28
# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 28

attribute :date_from, API::Types::Coercible::Int.optional.default(nil)

#date_toInteger

Returns filter by end date. It is set as UNIX-time.

Returns:

  • (Integer)

    filter by end date. It is set as UNIX-time.


30
# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 30

attribute :date_to, API::Types::Coercible::Int.optional.default(nil)

#limitInteger

Returns number of returned posts. By default — 1000.

Returns:

  • (Integer)

    number of returned posts. By default — 1000.


32
# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 32

attribute :limit, API::Types::Coercible::Int.optional.default(1000)

#user_idInteger


26
# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 26

attribute :user_id, API::Types::Coercible::Int.optional.default(nil)