Class: Vk::API::Secure::Methods::GetSmsHistory
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Secure::Methods::GetSmsHistory
- 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
-
#date_from ⇒ Integer
Filter by start date.
-
#date_to ⇒ Integer
Filter by end date.
-
#limit ⇒ Integer
Number of returned posts.
- #user_id ⇒ Integer
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Secure::Methods::GetSmsHistory
|
# File 'lib/vk/api/secure/methods/get_sms_history.rb', line 15
|
Instance Method Details
#date_from ⇒ Integer
Returns 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_to ⇒ Integer
Returns 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) |
#limit ⇒ Integer
Returns 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) |