Class: Vk::API::Wall::Wallpost
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::Wallpost
- Defined in:
- lib/vk/api/wall/wallpost.rb
Overview
Instance Method Summary collapse
- #attachments ⇒ Array
-
#date ⇒ Integer
Date of publishing in Unixtime.
-
#from_id ⇒ Integer
Post author ID.
- #geo ⇒ API::Base::Geo
-
#id ⇒ Integer
Post ID.
-
#owner_id ⇒ Integer
Wall owner's ID.
- #post_source ⇒ API::Wall::PostSource
- #post_type ⇒ API::Wall::PostType
-
#signer_id ⇒ Integer
Post signer ID.
-
#text ⇒ String
Post text.
Instance Method Details
#attachments ⇒ Array
25 |
# File 'lib/vk/api/wall/wallpost.rb', line 25 attribute :attachments, API::Types::Coercible::Array.member(API::Wall::WallpostAttachment).optional.default(nil) |
#date ⇒ Integer
Returns Date of publishing in Unixtime.
17 |
# File 'lib/vk/api/wall/wallpost.rb', line 17 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#from_id ⇒ Integer
Returns Post author ID.
13 |
# File 'lib/vk/api/wall/wallpost.rb', line 13 attribute :from_id, API::Types::Coercible::Int.optional.default(nil) |
#geo ⇒ API::Base::Geo
27 |
# File 'lib/vk/api/wall/wallpost.rb', line 27 attribute :geo, Dry::Types[API::Base::Geo].optional.default(nil) |
#id ⇒ Integer
Returns Post ID.
11 |
# File 'lib/vk/api/wall/wallpost.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Wall owner's ID.
15 |
# File 'lib/vk/api/wall/wallpost.rb', line 15 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#post_source ⇒ API::Wall::PostSource
29 |
# File 'lib/vk/api/wall/wallpost.rb', line 29 attribute :post_source, Dry::Types[API::Wall::PostSource].optional.default(nil) |
#post_type ⇒ API::Wall::PostType
19 |
# File 'lib/vk/api/wall/wallpost.rb', line 19 attribute :post_type, API::Wall::PostType.optional.default(nil) |