Class: Vk::API::Wall::Methods::Repost
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Wall::Methods::Repost
- Defined in:
- lib/vk/api/wall/methods/repost.rb
Overview
Reposts (copies) an object to a user wall or community wall.
Arguments collapse
-
#group_id ⇒ Integer
Target community ID when reposting to a community.
- #mark_as_ads ⇒ Boolean
-
#message ⇒ String
Comment to be added along with the reposted object.
-
#object ⇒ String
ID of the object to be reposted on the wall.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Wall::Methods::Repost constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#group_id ⇒ Integer
Returns Target community ID when reposting to a community.
30 |
# File 'lib/vk/api/wall/methods/repost.rb', line 30 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#mark_as_ads ⇒ Boolean
32 |
# File 'lib/vk/api/wall/methods/repost.rb', line 32 attribute :mark_as_ads, API::Types::Form::Bool.optional.default(false) |