Class: Vk::API::Secure::Methods::SendNotification
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Secure::Methods::SendNotification
- Defined in:
- lib/vk/api/secure/methods/send_notification.rb
Overview
Sends notification to the user.
Arguments collapse
-
#message ⇒ String
Notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).
- #user_id ⇒ Integer
- #user_ids ⇒ Array
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Secure::Methods::SendNotification
|
# File 'lib/vk/api/secure/methods/send_notification.rb', line 15
|
Instance Method Details
#message ⇒ String
Returns notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).
29 |
# File 'lib/vk/api/secure/methods/send_notification.rb', line 29 attribute :message, API::Types::Coercible::String |
#user_id ⇒ Integer
27 |
# File 'lib/vk/api/secure/methods/send_notification.rb', line 27 attribute :user_id, API::Types::Coercible::Int.optional.default(nil) |